This technically fixes the improperly updated patch, and also no longer checks canPickUpLoot.
This commit is contained in:
@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean cannotPickUpBanner() {
|
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()) {
|
if (!this.mob.hasActiveRaid()) {
|
||||||
return true;
|
return true;
|
||||||
} else if (this.mob.getCurrentRaid().isOver()) {
|
} else if (this.mob.getCurrentRaid().isOver()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user