summaryrefslogtreecommitdiffstats
path: root/nms-patches/World.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-03-12 20:43:04 +1100
committermd_5 <git@md-5.net>2016-03-12 20:43:04 +1100
commitd0e326a071fced05815be4130cc460adb9f79c99 (patch)
tree1481cabef4aa4be952623a1c34bbadd18d9d2d71 /nms-patches/World.patch
parent2bf333e0fc0fcffbf958c044bd789d1cf5825eb2 (diff)
downloadcraftbukkit-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
Diffstat (limited to 'nms-patches/World.patch')
-rw-r--r--nms-patches/World.patch9
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 @@
}