From d0e326a071fced05815be4130cc460adb9f79c99 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 12 Mar 2016 20:43:04 +1100 Subject: [PATCH] SPIGOT-1900: Stub out expensive and redundant method call --- nms-patches/World.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nms-patches/World.patch b/nms-patches/World.patch index d9d7ba1aa5..95bd596151 100644 --- a/nms-patches/World.patch +++ b/nms-patches/World.patch @@ -383,6 +383,15 @@ Iterator iterator = this.tileEntityListTick.iterator(); while (iterator.hasNext()) { +@@ -1140,7 +1373,7 @@ + + if (this.isLoaded(blockposition) && this.N.a(blockposition)) { + try { +- this.methodProfiler.a(tileentity.getClass().getSimpleName()); ++ this.methodProfiler.a(""/*tileentity.getClass().getSimpleName()*/); // CraftBukkit: SPIGOT-1900 + ((ITickable) tileentity).c(); + this.methodProfiler.b(); + } catch (Throwable throwable2) { @@ -1162,11 +1395,13 @@ }