This technically fixes the improperly updated patch, and also no longer checks canPickUpLoot.
This commit is contained in:
parent
6a51c44ec2
commit
839c6a1845
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
}
|
||||
|
||||
private boolean cannotPickUpBanner() {
|
||||
+ if (!getServerLevel(this.mob).getGameRules().getBoolean(net.minecraft.world.level.GameRules.RULE_MOBGRIEFING) || !this.mob.canPickUpLoot()) return false; // Paper - respect game and entity rules for picking up items
|
||||
+ if (!getServerLevel(this.mob).getGameRules().getBoolean(net.minecraft.world.level.GameRules.RULE_MOBGRIEFING)) return true; // Paper - respect game and entity rules for picking up items
|
||||
if (!this.mob.hasActiveRaid()) {
|
||||
return true;
|
||||
} else if (this.mob.getCurrentRaid().isOver()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue