diff options
author | Aikar <[email protected]> | 2016-05-12 08:55:35 -0400 |
---|---|---|
committer | Aikar <[email protected]> | 2016-05-12 08:55:35 -0400 |
commit | 74a73b72237c0c6f27b692a37e2ec39dbd850337 (patch) | |
tree | e6885acf1bc4255ecebebca22fb72e956319346a | |
parent | dba25d1e86dfd546a6b4b06da7c8066d638915c1 (diff) | |
download | Paper-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.patch | 8 |
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); } } |