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:
@@ -12,6 +12,10 @@ import org.bukkit.entity.Player;
|
||||
public class UndisguiseRadiusCommand implements CommandExecutor {
|
||||
private int maxRadius = 30;
|
||||
|
||||
public UndisguiseRadiusCommand(int maxRadius) {
|
||||
this.maxRadius = maxRadius;
|
||||
}
|
||||
|
||||
private boolean isNumeric(String string) {
|
||||
try {
|
||||
Integer.parseInt(string);
|
||||
@@ -21,10 +25,6 @@ public class UndisguiseRadiusCommand implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
public UndisguiseRadiusCommand(int maxRadius) {
|
||||
this.maxRadius = maxRadius;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
if (sender.getName().equals("CONSOLE")) {
|
||||
|
Reference in New Issue
Block a user