SPIGOT-5486: Raider CanJoinRaid

This commit is contained in:
md_5 2019-12-29 14:21:16 +11:00
parent 4e4a9b200d
commit 731e819c94

View File

@ -49,4 +49,14 @@ public abstract class CraftRaider extends CraftMonster implements Raider {
public void setPatrolLeader(boolean leader) {
getHandle().setPatrolLeader(leader);
}
@Override
public boolean isCanJoinRaid() {
return getHandle().eD();
}
@Override
public void setCanJoinRaid(boolean join) {
getHandle().u(join);
}
}