[CI-SKIP] Rebuild patches
This commit is contained in:
parent
ff8a48b9d1
commit
8782be3bb0
|
@ -1,9 +1,9 @@
|
|||
From 4360aea0767807d156608cd70a55eaa2b2eacf1d Mon Sep 17 00:00:00 2001
|
||||
From 404c8ec69e874c98023af9914dd56c7863dbc99a Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Wed, 4 Jul 2018 03:39:51 -0400
|
||||
Subject: [PATCH] Avoid Chunk Lookups for Entity/TileEntity Current Chunk
|
||||
|
||||
SPECIAL 1.14.1 NOTE:
|
||||
SPECIAL 1.14.1 NOTE:
|
||||
This patch caused a memory leak since the tile entity's chunk was set to null
|
||||
before it was removed. Ensure this issue is resolved!
|
||||
|
||||
|
@ -13,7 +13,6 @@ to the object directly on the Entity/TileEntity object we can directly grab.
|
|||
|
||||
Use that local value instead to reduce lookups in many hot places.
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 985f30372..67159b8a8 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
|
@ -72,5 +71,5 @@ index 83fb8737a..c473c7d16 100644
|
|||
}
|
||||
|
||||
--
|
||||
2.22.0
|
||||
2.24.1
|
||||
|
Loading…
Reference in New Issue