mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Don't use snapshots for Timings Tile Entity reports
This commit is contained in:
parent
99bdc0fc19
commit
ffe27211fb
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ public class TimingHistory {
|
||||||
data.entityCounts.get(entity.getType()).increment();
|
data.entityCounts.get(entity.getType()).increment();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (BlockState tileEntity : chunk.getTileEntities()) {
|
for (BlockState tileEntity : chunk.getTileEntities(false)) {
|
||||||
if (tileEntity == null) {
|
if (tileEntity == null) {
|
||||||
Bukkit.getLogger().warning("Null tileentity detected in chunk at position x: " + chunk.getX() + ", z: " + chunk.getZ());
|
Bukkit.getLogger().warning("Null tileentity detected in chunk at position x: " + chunk.getX() + ", z: " + chunk.getZ());
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue