summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySlice.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntitySlice.patch')
-rw-r--r--nms-patches/EntitySlice.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/nms-patches/EntitySlice.patch b/nms-patches/EntitySlice.patch
deleted file mode 100644
index 5e898280..00000000
--- a/nms-patches/EntitySlice.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- ../work/decompile-8eb82bde/net/minecraft/server/EntitySlice.java 2015-02-20 10:18:42.025023871 +0000
-+++ src/main/java/net/minecraft/server/EntitySlice.java 2015-02-20 10:18:42.057023871 +0000
-@@ -4,6 +4,7 @@
- import com.google.common.collect.Multimap;
- import com.google.common.collect.Sets;
- import java.util.AbstractSet;
-+import java.util.Collections;
- import java.util.Iterator;
- import java.util.Set;
- import org.apache.commons.lang3.ClassUtils;
-@@ -89,6 +90,11 @@
- }
-
- public Iterator iterator() {
-+ // CraftBukkit start
-+ if (!this.a.containsKey(this.c)) {
-+ return Collections.EMPTY_LIST.iterator();
-+ }
-+ // CraftBukkit end
- Iterator iterator = this.a.get(this.c).iterator();
-
- return new EntitySliceInnerClass2(this, iterator);