1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-26 16:04:27 +02:00

Fill out default spawn prevent values in protect

This commit is contained in:
ementalo
2012-06-28 13:59:38 +01:00
parent 4540b7144d
commit 93e80d7459

View File

@@ -45,7 +45,13 @@ public class Prevent implements StorageObject
public Prevent()
{
spawn.put(EntityType.PIG, false);
for (EntityType t : EntityType.values())
{
if (t.isAlive())
{
spawn.put(t, false);
}
}
pistonPush.add(Material.GLASS);
}
}