#374: Add isJohnny / setJohnny for Vindicator

By: Matthew <stteg@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot
2022-01-01 09:58:04 +11:00
parent 179dbe9592
commit 1fa87773be
2 changed files with 21 additions and 0 deletions

View File

@@ -25,4 +25,14 @@ public class CraftVindicator extends CraftIllager implements Vindicator {
public EntityType getType() {
return EntityType.VINDICATOR;
}
@Override
public boolean isJohnny() {
return getHandle().isJohnny;
}
@Override
public void setJohnny(boolean johnny) {
getHandle().isJohnny = johnny;
}
}