2018-10-05 05:18:46 +02:00
|
|
|
From 55a1e8faecf44ded04ae4ba2089134bcf7b4ee46 Mon Sep 17 00:00:00 2001
|
2018-08-31 02:57:22 +02:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Thu, 30 Aug 2018 20:56:26 -0400
|
|
|
|
Subject: [PATCH] Don't double add golems to world
|
|
|
|
|
|
|
|
spawnCreature adds to world now
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/Village.java b/src/main/java/net/minecraft/server/Village.java
|
2018-10-05 05:18:46 +02:00
|
|
|
index 0414f003a5..d92ef03661 100644
|
2018-08-31 02:57:22 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/Village.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/Village.java
|
|
|
|
@@ -77,7 +77,7 @@ public class Village {
|
|
|
|
|
|
|
|
if (entityirongolem != null) {
|
|
|
|
if (entityirongolem.a((GeneratorAccess) this.a, false) && entityirongolem.a((IWorldReader) this.a)) {
|
|
|
|
- this.a.addEntity(entityirongolem);
|
|
|
|
+ //this.a.addEntity(entityirongolem); // Paper - already is in the world
|
|
|
|
return entityirongolem;
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2018-09-27 04:35:42 +02:00
|
|
|
2.19.0
|
2018-08-31 02:57:22 +02:00
|
|
|
|