t
This commit is contained in:
parent
4ce0e46b0d
commit
5994288667
@ -74,7 +74,7 @@ public class RandomListeners implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onCreatureSpawn(CreatureSpawnEvent event) {
|
||||
if (event.getEntity().getType() != EntityType.ARMOR_STAND && event.getEntity().getType() != EntityType.VILLAGER) {
|
||||
if (event.getEntity().getType() != EntityType.ARMOR_STAND || event.getEntity().getType() != EntityType.VILLAGER) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user