Paper/nms-patches/PathfinderAbstract.patch

12 lines
402 B
Diff
Raw Normal View History

--- a/net/minecraft/server/PathfinderAbstract.java
+++ b/net/minecraft/server/PathfinderAbstract.java
@@ -23,7 +23,7 @@
this.f = MathHelper.d(entityinsentient.width + 1.0F);
}
- public void a() {}
+ public void a() { this.a = (IBlockAccess) null; } // CraftBukkit - don't leak Chunk Cache
protected PathPoint a(int i, int j, int k) {
int l = PathPoint.b(i, j, k);