From 5a787fcfafa2fa908783ca9c272d514ad5197de3 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 25 Nov 2014 13:19:32 +1100 Subject: [PATCH] Some blocks aren't safe e.g. Spawners, falling blocks could cause lag. --- .../java/com/intellectualcrafters/plot/object/PlotWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java index 44854fa71..a023cc9fc 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotWorld.java @@ -108,7 +108,7 @@ public abstract class PlotWorld { // TODO: Let jesse decide if this is stupid or not BLOCKS = new ArrayList<>(); for (Material material : Material.values()) { - if (material.isBlock() && material.isSolid()) + if (material.isBlock() && material.isSolid() && (!material.hasGravity()) && (material.isOccluding())) BLOCKS.add(material); } }