@@ -123,7 +123,7 @@
|
||||
+ // CraftBukkit end
|
||||
|
||||
public void a(int i, int j, boolean flag, boolean flag1) {
|
||||
this.worldDataServer.a(i);
|
||||
this.worldDataServer.setClearWeatherTime(i);
|
||||
@@ -193,6 +261,7 @@
|
||||
this.rainLevel = MathHelper.a(this.rainLevel, 0.0F, 1.0F);
|
||||
}
|
||||
@@ -405,7 +405,7 @@
|
||||
+
|
||||
+ public boolean addAllEntitiesSafely(Entity entity, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) {
|
||||
+ // CraftBukkit end
|
||||
if (entity.cp().anyMatch(this::isUUIDTaken)) {
|
||||
if (entity.recursiveStream().anyMatch(this::isUUIDTaken)) {
|
||||
return false;
|
||||
} else {
|
||||
- this.addAllEntities(entity);
|
||||
|
||||
Reference in New Issue
Block a user