Store the type of watcher this disguise will use

This commit is contained in:
Andrew 2013-07-28 10:59:49 +12:00
parent e755ed24db
commit 593f3f492b

View File

@ -135,6 +135,7 @@ public enum DisguiseType {
private int defaultId; private int defaultId;
private int entityId; private int entityId;
private EntityType entityType; private EntityType entityType;
private Class watcherClass;
private DisguiseType(EntityType newType, int... obj) { private DisguiseType(EntityType newType, int... obj) {
entityType = newType; entityType = newType;
@ -160,6 +161,14 @@ public enum DisguiseType {
return defaultData; return defaultData;
} }
public Class getWatcherClass() {
return watcherClass;
}
public void setWatcherClass(Class c) {
watcherClass = c;
}
public int getDefaultId() { public int getDefaultId() {
return defaultId; return defaultId;
} }