diff options
author | md_5 <git@md-5.net> | 2016-03-12 20:43:04 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-12 20:43:04 +1100 |
commit | d0e326a071fced05815be4130cc460adb9f79c99 (patch) | |
tree | 1481cabef4aa4be952623a1c34bbadd18d9d2d71 | |
parent | 2bf333e0fc0fcffbf958c044bd789d1cf5825eb2 (diff) | |
download | craftbukkit-d0e326a071fced05815be4130cc460adb9f79c99.tar craftbukkit-d0e326a071fced05815be4130cc460adb9f79c99.tar.gz craftbukkit-d0e326a071fced05815be4130cc460adb9f79c99.tar.lz craftbukkit-d0e326a071fced05815be4130cc460adb9f79c99.tar.xz craftbukkit-d0e326a071fced05815be4130cc460adb9f79c99.zip |
SPIGOT-1900: Stub out expensive and redundant method call
-rw-r--r-- | nms-patches/World.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/World.patch b/nms-patches/World.patch index d9d7ba1a..95bd5961 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 @@ } |