From 3c7143e7b41ff9b77cb6b6eb6cdf48b602b33a9b Mon Sep 17 00:00:00 2001 From: Brokkonaut Date: Fri, 28 Aug 2020 18:32:44 +1000 Subject: [PATCH] SPIGOT-5953, SPIGOT-5914: Use LinkedHashMap to keep captured block states in order --- nms-patches/World.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/World.patch b/nms-patches/World.patch index a11ba7e5de..c0ee86f6a0 100644 --- a/nms-patches/World.patch +++ b/nms-patches/World.patch @@ -32,7 +32,7 @@ + + public boolean captureBlockStates = false; + public boolean captureTreeGeneration = false; -+ public Map capturedBlockStates = new HashMap<>(); ++ public Map capturedBlockStates = new java.util.LinkedHashMap<>(); + public Map capturedTileEntities = new HashMap<>(); + public List captureDrops; + public long ticksPerAnimalSpawns;