mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +01:00
SPIGOT-1900: Stub out expensive and redundant method call
This commit is contained in:
parent
2bf333e0fc
commit
d0e326a071
1 changed files with 9 additions and 0 deletions
|
@ -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 a new issue