mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
We don't want droppers included.
This commit is contained in:
parent
5a787fcfaf
commit
37d6f9c4d1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user