mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-14 15:26:54 +01:00
Opps. Fixed DisguiseType's with a _ not displaying properly in DisguiseEntity
This commit is contained in:
parent
f94748afa5
commit
0e828eaf07
@ -132,7 +132,7 @@ public class DisguiseListener implements Listener {
|
||||
} else {
|
||||
String[] split = entity.getType().name().split("_");
|
||||
for (int i = 0; i < split.length; i++) {
|
||||
entityName += split[0].substring(0, 1) + split[0].substring(1).toLowerCase();
|
||||
entityName += split[i].substring(0, 1) + split[i].substring(1).toLowerCase();
|
||||
if (i + 1 < split.length) {
|
||||
entityName += " ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user