mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-27 08:24:44 +02:00
Fill out default spawn prevent values in protect
This commit is contained in:
@@ -45,7 +45,13 @@ public class Prevent implements StorageObject
|
|||||||
|
|
||||||
public Prevent()
|
public Prevent()
|
||||||
{
|
{
|
||||||
spawn.put(EntityType.PIG, false);
|
for (EntityType t : EntityType.values())
|
||||||
|
{
|
||||||
|
if (t.isAlive())
|
||||||
|
{
|
||||||
|
spawn.put(t, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
pistonPush.add(Material.GLASS);
|
pistonPush.add(Material.GLASS);
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user