mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-30 22:44:24 +01:00
Formation geändert
This commit is contained in:
parent
b5d4efae67
commit
126673dfbc
@ -39,9 +39,9 @@ public class EntityListener implements Listener{
|
|||||||
|
|
||||||
if(eworld!=null){
|
if(eworld!=null){
|
||||||
if(
|
if(
|
||||||
event.getSpawnReason()==SpawnReason.CHUNK_GEN||
|
event.getSpawnReason()==SpawnReason.CHUNK_GEN||
|
||||||
event.getSpawnReason()==SpawnReason.BREEDING||
|
event.getSpawnReason()==SpawnReason.BREEDING||
|
||||||
event.getSpawnReason()==SpawnReason.NATURAL){
|
event.getSpawnReason()==SpawnReason.NATURAL){
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -50,9 +50,9 @@ public class EntityListener implements Listener{
|
|||||||
|
|
||||||
if(gworld!=null){
|
if(gworld!=null){
|
||||||
if(
|
if(
|
||||||
event.getSpawnReason()==SpawnReason.CHUNK_GEN||
|
event.getSpawnReason()==SpawnReason.CHUNK_GEN||
|
||||||
event.getSpawnReason()==SpawnReason.BREEDING||
|
event.getSpawnReason()==SpawnReason.BREEDING||
|
||||||
event.getSpawnReason()==SpawnReason.NATURAL){
|
event.getSpawnReason()==SpawnReason.NATURAL){
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user