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