From ffe27211fb4f2defe91da514ffd691a4c7507f59 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 15 Aug 2018 01:19:37 -0400 Subject: [PATCH] Don't use snapshots for Timings Tile Entity reports --- paper-api/src/main/java/co/aikar/timings/TimingHistory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/co/aikar/timings/TimingHistory.java b/paper-api/src/main/java/co/aikar/timings/TimingHistory.java index 3d4390f263..6f6eb1a2e6 100644 --- a/paper-api/src/main/java/co/aikar/timings/TimingHistory.java +++ b/paper-api/src/main/java/co/aikar/timings/TimingHistory.java @@ -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;