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,8 +108,9 @@ public abstract class PlotWorld {
// TODO: Let jesse decide if this is stupid or not // TODO: Let jesse decide if this is stupid or not
BLOCKS = new ArrayList<>(); BLOCKS = new ArrayList<>();
for (Material material : Material.values()) { 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); BLOCKS.add(material);
}
} }
} }
public final String worldname; public final String worldname;