Fixed typo

This commit is contained in:
Andrew 2013-07-28 11:55:59 +12:00
parent 2b0df513e1
commit b80eecfc63

View File

@ -273,9 +273,9 @@ public class LibsDisguises extends JavaPlugin {
// There is no watcher for this entity, or a error was thrown.
try {
Class c = disguiseType.getEntityType().getEntityClass();
if (c.isAssignableFrom(Ageable.class))
if (Ageable.class.isAssignableFrom(c))
watcherClass = AgeableWatcher.class;
else if (c.isAssignableFrom(LivingEntity.class))
else if (LivingEntity.class.isAssignableFrom(c))
watcherClass = LivingWatcher.class;
else
watcherClass = FlagWatcher.class;