Added rudimentary support for disguising Custom Entities and Modded Entities

Added the DisguiseType 'Unknown', obviously can't be used by players
Cleaned up code
This commit is contained in:
NavidK0
2015-07-07 11:30:12 -04:00
parent d30ffa1994
commit 27cc9cd70f
10 changed files with 53 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
package me.libraryaddict.disguise.commands;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.HashMap;
@@ -29,7 +30,7 @@ public class DisguiseEntityCommand extends BaseDisguiseCommand {
sender.sendMessage(ex.getMessage());
}
return true;
} catch (Exception ex) {
} catch (IllegalAccessException | InvocationTargetException ex) {
ex.printStackTrace(System.out);
return true;
}