mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 12:36:07 +01:00
SPIGOT-5486: Raider CanJoinRaid
This commit is contained in:
parent
4e4a9b200d
commit
731e819c94
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user