Skip to content

Commit 29c8822

Browse files
authored
Remove no longer needed MC-210802 fix (#13059)
1 parent 19156cd commit 29c8822

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

paper-server/patches/sources/net/minecraft/world/entity/ai/goal/EatBlockGoal.java.patch

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
--- a/net/minecraft/world/entity/ai/goal/EatBlockGoal.java
22
+++ b/net/minecraft/world/entity/ai/goal/EatBlockGoal.java
3-
@@ -26,6 +_,11 @@
4-
5-
@Override
6-
public boolean canUse() {
7-
+ // Paper start - Fix MC-210802
8-
+ if (!((net.minecraft.server.level.ServerLevel) this.level).chunkSource.chunkMap.anyPlayerCloseEnoughForSpawning(this.mob.chunkPosition())) {
9-
+ return false;
10-
+ }
11-
+ // Paper end
12-
if (this.mob.getRandom().nextInt(this.mob.isBaby() ? 50 : 1000) != 0) {
13-
return false;
14-
} else {
153
@@ -60,8 +_,9 @@
164
this.eatAnimationTick = Math.max(0, this.eatAnimationTick - 1);
175
if (this.eatAnimationTick == this.adjustedTickDelay(4)) {

0 commit comments

Comments
 (0)