SPIGOT-5953, SPIGOT-5914: Use LinkedHashMap to keep captured block states in order

This commit is contained in:
Brokkonaut 2020-08-28 18:32:44 +10:00 committed by md_5
parent 7d31adb5f7
commit 3c7143e7b4
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -32,7 +32,7 @@
+
+ public boolean captureBlockStates = false;
+ public boolean captureTreeGeneration = false;
+ public Map<BlockPosition, CapturedBlockState> capturedBlockStates = new HashMap<>();
+ public Map<BlockPosition, CapturedBlockState> capturedBlockStates = new java.util.LinkedHashMap<>();
+ public Map<BlockPosition, TileEntity> capturedTileEntities = new HashMap<>();
+ public List<EntityItem> captureDrops;
+ public long ticksPerAnimalSpawns;