mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-02 05:31:28 +01:00
SPIGOT-1900: Stub out expensive and redundant method call
This commit is contained in:
parent
2bf333e0fc
commit
d0e326a071
@ -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 @@
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user