aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAikar <[email protected]>2016-05-12 08:55:35 -0400
committerAikar <[email protected]>2016-05-12 08:55:35 -0400
commit74a73b72237c0c6f27b692a37e2ec39dbd850337 (patch)
treee6885acf1bc4255ecebebca22fb72e956319346a
parentdba25d1e86dfd546a6b4b06da7c8066d638915c1 (diff)
downloadPaper-74a73b72237c0c6f27b692a37e2ec39dbd850337.tar.gz
Paper-74a73b72237c0c6f27b692a37e2ec39dbd850337.zip
Fix T/TE removal list bug
Thanks @Cat6363
-rw-r--r--Spigot-Server-Patches/0067-Change-implementation-of-tile-entity-removal-list.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Spigot-Server-Patches/0067-Change-implementation-of-tile-entity-removal-list.patch b/Spigot-Server-Patches/0067-Change-implementation-of-tile-entity-removal-list.patch
index fb334279a5..b94fe4f3ab 100644
--- a/Spigot-Server-Patches/0067-Change-implementation-of-tile-entity-removal-list.patch
+++ b/Spigot-Server-Patches/0067-Change-implementation-of-tile-entity-removal-list.patch
@@ -1,4 +1,4 @@
-From 582cdbf4397d60d944fb6c56443b5eb1c49c10fb Mon Sep 17 00:00:00 2001
+From 0457e6130e427aac532ba7ebae80b9e3a3350ef9 Mon Sep 17 00:00:00 2001
From: Joseph Hirschfeld <[email protected]>
Date: Thu, 3 Mar 2016 02:39:54 -0600
Subject: [PATCH] Change implementation of (tile)entity removal list
@@ -22,7 +22,7 @@ index 751e07d..c6fe888 100644
public boolean impulse;
public int portalCooldown;
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 5adc297..e56f705 100644
+index 5adc297..159934f 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -31,6 +31,11 @@ import org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
@@ -66,8 +66,8 @@ index 5adc297..e56f705 100644
- j = entity.ad;
- if (entity.aa && this.isChunkLoaded(k, j, true)) {
- this.getChunkAt(k, j).b(entity);
-+ if (e.aa && this.isChunkLoaded(k, j, true)) {
-+ this.getChunkAt(k, j).b(e);
++ if (e.aa && this.isChunkLoaded(j, k, true)) {
++ this.getChunkAt(j, k).b(e);
}
}