mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Some blocks aren't safe e.g. Spawners, falling blocks could cause lag.
This commit is contained in:
parent
5885badc23
commit
5a787fcfaf
@ -108,7 +108,7 @@ 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())
|
if (material.isBlock() && material.isSolid() && (!material.hasGravity()) && (material.isOccluding()))
|
||||||
BLOCKS.add(material);
|
BLOCKS.add(material);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user