13
0
geforkt von Mirrors/Paper

SPIGOT-5486: Raider CanJoinRaid

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2019-12-29 14:21:16 +11:00
Ursprung 199da69b9f
Commit b0aa0e2871

Datei anzeigen

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