mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
SPIGOT-5486: Raider CanJoinRaid
This commit is contained in:
parent
4e4a9b200d
commit
731e819c94
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue