Fixed a missed typo where disguisenextentity comes up with weird disguise names
This commit is contained in:
parent
20b3d02f76
commit
e9fd160be8
@ -180,7 +180,7 @@ public class DisguiseListener implements Listener {
|
||||
} else {
|
||||
String[] split = disguise.getType().name().split("_");
|
||||
for (int i = 0; i < split.length; i++) {
|
||||
disguiseName += split[0].substring(0, 1) + split[0].substring(1).toLowerCase();
|
||||
disguiseName += split[i].substring(0, 1) + split[i].substring(1).toLowerCase();
|
||||
if (i + 1 < split.length) {
|
||||
disguiseName += " ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user