mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-11 02:37:36 +01:00
SPIGOT-1900: Stub out expensive and redundant method call
By: md_5 <git@md-5.net>
This commit is contained in:
parent
1ce9773dca
commit
a28e1be276
@ -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 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user