diff options
author | md_5 <git@md-5.net> | 2017-05-19 21:00:13 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-19 21:00:13 +1000 |
commit | 10043529907a4ba913ebe2712876e4b1911263b8 (patch) | |
tree | 37f3cbb2527d02eac320ed0900bf92a4f3c8407c /nms-patches/EntityZombie.patch | |
parent | 3ecbb59cbb9e20064d04628d26387742705ab9ac (diff) | |
download | craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.gz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.lz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.tar.xz craftbukkit-10043529907a4ba913ebe2712876e4b1911263b8.zip |
Update to Minecraft 1.12-pre5
Diffstat (limited to 'nms-patches/EntityZombie.patch')
-rw-r--r-- | nms-patches/EntityZombie.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityZombie.patch b/nms-patches/EntityZombie.patch index 2acddcba..60c08876 100644 --- a/nms-patches/EntityZombie.patch +++ b/nms-patches/EntityZombie.patch @@ -31,7 +31,7 @@ } } @@ -167,8 +181,8 @@ - if (this.world.getType(new BlockPosition(i1, j1 - 1, k1)).r() && this.world.getLightLevel(new BlockPosition(i1, j1, k1)) < 10) { + if (this.world.getType(new BlockPosition(i1, j1 - 1, k1)).q() && this.world.getLightLevel(new BlockPosition(i1, j1, k1)) < 10) { entityzombie.setPosition((double) i1, (double) j1, (double) k1); if (!this.world.isPlayerNearby((double) i1, (double) j1, (double) k1, 7.0D) && this.world.a(entityzombie.getBoundingBox(), (Entity) entityzombie) && this.world.getCubes(entityzombie, entityzombie.getBoundingBox()).isEmpty() && !this.world.containsLiquid(entityzombie.getBoundingBox())) { - this.world.addEntity(entityzombie); |