summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-01-02 09:35:58 +1100
committermd_5 <git@md-5.net>2018-01-02 10:14:30 +1100
commit360629ec5a02f32a56aa0d82ff99d87b68fa45f7 (patch)
tree98fff8dd78dc078160105b40c45d4ce9e0afc4ae
parent595eaaa8be13eaf09967819bb60a69aba802fe51 (diff)
downloadcraftbukkit-360629ec5a02f32a56aa0d82ff99d87b68fa45f7.tar
craftbukkit-360629ec5a02f32a56aa0d82ff99d87b68fa45f7.tar.gz
craftbukkit-360629ec5a02f32a56aa0d82ff99d87b68fa45f7.tar.lz
craftbukkit-360629ec5a02f32a56aa0d82ff99d87b68fa45f7.tar.xz
craftbukkit-360629ec5a02f32a56aa0d82ff99d87b68fa45f7.zip
SPIGOT-3729: Add AreaEffectClouds to tracker
-rw-r--r--nms-patches/EntityTracker.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityTracker.patch b/nms-patches/EntityTracker.patch
index 67c6412c..1e0a52a9 100644
--- a/nms-patches/EntityTracker.patch
+++ b/nms-patches/EntityTracker.patch
@@ -1,5 +1,14 @@
--- a/net/minecraft/server/EntityTracker.java
+++ b/net/minecraft/server/EntityTracker.java
+@@ -91,7 +91,7 @@
+ } else if (entity instanceof EntityExperienceOrb) {
+ this.addEntity(entity, 160, 20, true);
+ } else if (entity instanceof EntityAreaEffectCloud) {
+- this.addEntity(entity, 160, Integer.MAX_VALUE, true);
++ this.addEntity(entity, 160, 10, true); // CraftBukkit
+ } else if (entity instanceof EntityEnderCrystal) {
+ this.addEntity(entity, 256, Integer.MAX_VALUE, false);
+ } else if (entity instanceof EntityEvokerFangs) {
@@ -120,11 +120,12 @@
CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Entity To Track");