Falling Block and Dropped Item now show their proper name for disguise name
This commit is contained in:
@@ -792,6 +792,7 @@ public class DisguiseParser {
|
||||
if (disguisePerm.getType() == DisguiseType.DROPPED_ITEM ||
|
||||
disguisePerm.getType() == DisguiseType.FALLING_BLOCK) {
|
||||
disguise = new MiscDisguise(disguisePerm.getType(), itemStack);
|
||||
name = disguise.getDisguiseName();
|
||||
} else {
|
||||
disguise = new MiscDisguise(disguisePerm.getType(), miscId);
|
||||
}
|
||||
|
@@ -1841,7 +1841,7 @@ public class ReflectionManager {
|
||||
return split;
|
||||
}
|
||||
|
||||
private static String toReadable(String string) {
|
||||
public static String toReadable(String string) {
|
||||
return StringUtils.join(splitReadable(string));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user