Fix some false positive warnings printing that shouldnt be

reduces some log spam
This commit is contained in:
Aikar
2018-08-20 20:20:40 -04:00
parent 0f2aaa4364
commit bcb9bb64f0
3 changed files with 6 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ index 14c8edeffc..c3bd82692d 100644
+ }
}
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index 4757081090..3d5b6eabaf 100644
index 4757081090..d29aec7149 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -0,0 +0,0 @@
@@ -138,6 +138,7 @@ index 4757081090..3d5b6eabaf 100644
+ ) {
+ logger.warn("[DUPE-UUID] Duplicate UUID found used by " + other + ", deleted entity " + entity + " because it was near the duplicate and likely an actual duplicate. See https://github.com/PaperMC/Paper/issues/1223 for discussion on what this is about.");
+ entity.die();
+ iterator.remove();
+ continue;
+ }
+ if (other != null && !other.dead) {
@@ -179,7 +180,7 @@ index 7b856cad91..eb8904a728 100644
this.uniqueID = uuid;
this.ar = this.uniqueID.toString();
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 5de8da65c0..c53e77b821 100644
index d96126bcf2..5257db1e00 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {