From 360629ec5a02f32a56aa0d82ff99d87b68fa45f7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 2 Jan 2018 09:35:58 +1100 Subject: [PATCH] SPIGOT-3729: Add AreaEffectClouds to tracker --- nms-patches/EntityTracker.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nms-patches/EntityTracker.patch b/nms-patches/EntityTracker.patch index 67c6412c45..1e0a52a9e3 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");