3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

SPIGOT-1900: Stub out expensive and redundant method call

Dieser Commit ist enthalten in:
md_5 2016-03-12 20:43:04 +11:00
Ursprung 2bf333e0fc
Commit d0e326a071

Datei anzeigen

@ -383,6 +383,15 @@
Iterator iterator = this.tileEntityListTick.iterator(); Iterator iterator = this.tileEntityListTick.iterator();
while (iterator.hasNext()) { 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 @@ @@ -1162,11 +1395,13 @@
} }