We don't want droppers included.

This commit is contained in:
boy0001 2014-11-25 13:29:53 +11:00
parent 5a787fcfaf
commit 37d6f9c4d1

View File

@ -108,10 +108,11 @@ 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() && (!material.hasGravity()) && (material.isOccluding()))
if (material.isBlock() && material.isSolid() && !material.hasGravity() && !material.isTransparent() && material.isOccluding() && material!=Material.DROPPER) {
BLOCKS.add(material);
}
}
}
public final String worldname;
public boolean AUTO_MERGE;
public boolean MOB_SPAWNING;