diff --git a/CraftBukkit-Patches/0159-Use-Standard-List-for-EntitySlices.patch b/CraftBukkit-Patches/0159-Use-Standard-List-for-EntitySlices.patch index ffc346c..79b4073 100644 --- a/CraftBukkit-Patches/0159-Use-Standard-List-for-EntitySlices.patch +++ b/CraftBukkit-Patches/0159-Use-Standard-List-for-EntitySlices.patch @@ -1,4 +1,4 @@ -From b1d615dc4ee4ae82b71fa658ec342cddaba37bd1 Mon Sep 17 00:00:00 2001 +From d55a99d4957f228f5a5a19e6fd3b4772d034af38 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 20 Feb 2015 21:33:36 +1100 Subject: [PATCH] Use Standard List for EntitySlices. @@ -58,6 +58,22 @@ index c50ab45..e9cd4d4 100644 return this.entitySlices; } +diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java +index d3f4af1..c5ff1be 100644 +--- a/src/main/java/org/spigotmc/ActivationRange.java ++++ b/src/main/java/org/spigotmc/ActivationRange.java +@@ -141,9 +141,9 @@ public class ActivationRange + */ + private static void activateChunkEntities(Chunk chunk) + { +- for ( EntitySlice slice : chunk.entitySlices ) ++ for ( List slice : chunk.entitySlices ) + { +- for ( Entity entity : (Set) slice ) ++ for ( Entity entity : slice ) + { + if ( MinecraftServer.currentTick > entity.activatedTick ) + { -- 2.1.0