Archiviert
13
0

Can't expect others to follow formatting if I don't

Dieser Commit ist enthalten in:
Zach Brown 2016-04-09 13:54:47 -05:00
Ursprung 0de12fa3ec
Commit a97fe29d9d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: CC9DA35FC5450B76

Datei anzeigen

@ -1,14 +1,14 @@
From 20d29320370506bfbb1b409bda2102a82a671168 Mon Sep 17 00:00:00 2001
From 69a4afa23cc7540a32edb3561eeacd3a5e7ace45 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Thu, 7 Apr 2016 18:28:06 -0500
Subject: [PATCH] 16w14a memory cleanup
diff --git a/src/main/java/net/minecraft/server/PathfinderAbstract.java b/src/main/java/net/minecraft/server/PathfinderAbstract.java
index 51f3758..9f5216e 100644
index 51f3758..acbc70a 100644
--- a/src/main/java/net/minecraft/server/PathfinderAbstract.java
+++ b/src/main/java/net/minecraft/server/PathfinderAbstract.java
@@ -23,7 +23,11 @@ public abstract class PathfinderAbstract {
@@ -23,7 +23,12 @@ public abstract class PathfinderAbstract {
this.f = MathHelper.d(entityinsentient.width + 1.0F);
}
@ -18,6 +18,7 @@ index 51f3758..9f5216e 100644
+ this.a = (IBlockAccess) null; // CraftBukkit - don't leak Chunk Cache
+ this.b = null;
+ }
+ // Paper end
protected PathPoint a(int i, int j, int k) {
int l = PathPoint.b(i, j, k);