Fix T/TE removal list bug

Thanks @Cat6363
This commit is contained in:
Aikar 2016-05-12 08:55:35 -04:00
parent 1850ae22cf
commit 4e3d8a41ee

View file

@ -66,8 +66,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- j = entity.ad; - j = entity.ad;
- if (entity.aa && this.isChunkLoaded(k, j, true)) { - if (entity.aa && this.isChunkLoaded(k, j, true)) {
- this.getChunkAt(k, j).b(entity); - this.getChunkAt(k, j).b(entity);
+ if (e.aa && this.isChunkLoaded(k, j, true)) { + if (e.aa && this.isChunkLoaded(j, k, true)) {
+ this.getChunkAt(k, j).b(e); + this.getChunkAt(j, k).b(e);
} }
} }