mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-12 01:48:07 +02: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 {
|
} else {
|
||||||
String[] split = entity.getType().name().split("_");
|
String[] split = entity.getType().name().split("_");
|
||||||
for (int i = 0; i < split.length; i++) {
|
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) {
|
if (i + 1 < split.length) {
|
||||||
entityName += " ";
|
entityName += " ";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user