Don't use snapshots for Timings Tile Entity reports

This commit is contained in:
Aikar 2018-08-15 01:19:37 -04:00
parent 99bdc0fc19
commit ffe27211fb

View file

@ -125,7 +125,7 @@ public class TimingHistory {
data.entityCounts.get(entity.getType()).increment();
}
for (BlockState tileEntity : chunk.getTileEntities()) {
for (BlockState tileEntity : chunk.getTileEntities(false)) {
if (tileEntity == null) {
Bukkit.getLogger().warning("Null tileentity detected in chunk at position x: " + chunk.getX() + ", z: " + chunk.getZ());
continue;