Read desc
Removed duplicate horse watchers All applicable disguisetypes are now the same names as entity type. Fixed bug where it sometimes didnt return disguisetype when fed entitytype Added zombie_villager disguisetype even tho its not that big a disguise.. Changed the entitytype I store to the bukkit's version. Should work the same.. Untested ofc. Hopefully broke peoples plugins :)
This commit is contained in:
@@ -270,18 +270,24 @@ public class LibsDisguises extends JavaPlugin implements Listener {
|
||||
String name = toReadable(disguiseType.name());
|
||||
if (disguiseType == DisguiseType.WITHER_SKELETON) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.ZOMBIE_VILLAGER) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.PRIMED_TNT) {
|
||||
name = "TNTPrimed";
|
||||
} else if (disguiseType == DisguiseType.DONKEY) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.MULE) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.ZOMBIE_HORSE) {
|
||||
} else if (disguiseType == DisguiseType.UNDEAD_HORSE) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.SKELETON_HORSE) {
|
||||
continue;
|
||||
} else if (disguiseType == DisguiseType.MINECART_TNT) {
|
||||
name = "MinecartTNT";
|
||||
} else if (disguiseType == DisguiseType.MINECART) {
|
||||
name = "MinecartRideable";
|
||||
} else if (disguiseType == DisguiseType.FIREWORK) {
|
||||
name = "Fireworks";
|
||||
} else if (disguiseType == DisguiseType.SPLASH_POTION)
|
||||
name = "Potion";
|
||||
else if (disguiseType == DisguiseType.GIANT)
|
||||
|
Reference in New Issue
Block a user