make dupe uuid saferegen delete range configurable

also ensure we never process already valid entities. this shouldnt be possible as of recent
commits as we made the entity slice array safer, but doesn't hurt for this logic to be safe too
incase that patch got dropped in a future version by accident/necessarily
This commit is contained in:
Aikar
2018-08-04 00:23:00 -04:00
parent d59b727a40
commit 7fe1caf23d
3 changed files with 10 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ Fix this by differing entity add to world for all entities at the same time
the original entity is dead, overwrite it as the logic does for unloaod queued entities.
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index f41f282848..c6f47d4089 100644
index 575ddcb2a0..3d512d7595 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -0,0 +0,0 @@ public class Chunk {