2020-05-06 09:48:49 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2019-04-30 01:20:24 +00:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Thu, 19 Jul 2018 01:08:05 -0400
|
|
|
|
Subject: [PATCH] Re-add vanilla entity warnings for duplicates
|
|
|
|
|
|
|
|
These are a critical sign that somethin went wrong, and you've lost some data....
|
|
|
|
|
|
|
|
We should kind of know about these things you know.
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
2020-09-10 23:47:58 +00:00
|
|
|
index 3d7950ea51a533477d3569d9768ca20a1b6d0822..81cdfe2351e62461171e5658290d80bb9b735d7a 100644
|
2019-04-30 01:20:24 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
2020-09-10 22:02:39 +00:00
|
|
|
@@ -961,7 +961,7 @@ public class WorldServer extends World implements GeneratorAccessSeed {
|
2019-04-30 01:20:24 +00:00
|
|
|
if (entity1 == null) {
|
|
|
|
return false;
|
|
|
|
} else {
|
2020-08-25 02:22:08 +00:00
|
|
|
- // WorldServer.LOGGER.warn("Trying to add entity with duplicated UUID {}. Existing {}#{}, new: {}#{}", uuid, EntityTypes.getName(entity1.getEntityType()), entity1.getId(), EntityTypes.getName(entity.getEntityType()), entity.getId()); // CraftBukkit
|
|
|
|
+ WorldServer.LOGGER.warn("Trying to add entity with duplicated UUID {}. Existing {}#{}, new: {}#{}", uuid, EntityTypes.getName(entity1.getEntityType()), entity1.getId(), EntityTypes.getName(entity.getEntityType()), entity.getId()); // CraftBukkit // Paper
|
2019-04-30 01:20:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|