Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-1900: Stub out expensive and redundant method call
Dieser Commit ist enthalten in:
Ursprung
2bf333e0fc
Commit
d0e326a071
@ -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 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren