Fixed typo
This commit is contained in:
parent
2b0df513e1
commit
b80eecfc63
@ -273,9 +273,9 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
// There is no watcher for this entity, or a error was thrown.
|
// There is no watcher for this entity, or a error was thrown.
|
||||||
try {
|
try {
|
||||||
Class c = disguiseType.getEntityType().getEntityClass();
|
Class c = disguiseType.getEntityType().getEntityClass();
|
||||||
if (c.isAssignableFrom(Ageable.class))
|
if (Ageable.class.isAssignableFrom(c))
|
||||||
watcherClass = AgeableWatcher.class;
|
watcherClass = AgeableWatcher.class;
|
||||||
else if (c.isAssignableFrom(LivingEntity.class))
|
else if (LivingEntity.class.isAssignableFrom(c))
|
||||||
watcherClass = LivingWatcher.class;
|
watcherClass = LivingWatcher.class;
|
||||||
else
|
else
|
||||||
watcherClass = FlagWatcher.class;
|
watcherClass = FlagWatcher.class;
|
||||||
|
Loading…
Reference in New Issue
Block a user