Some blocks aren't safe e.g. Spawners, falling blocks could cause lag.

This commit is contained in:
boy0001 2014-11-25 13:19:32 +11:00
parent 5885badc23
commit 5a787fcfaf

View File

@ -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);
}
}