diff options
author | Alexander Harkness <bearbin@gmail.com> | 2017-08-29 22:27:47 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2017-09-01 15:50:02 +0200 |
commit | 765db880f909e5045653f05fd803db2900f03fc8 (patch) | |
tree | e2d1a852b0cec32776883b505f2c628017cbf33c /src | |
parent | OnLogin now kicks players properly (#3980) (diff) | |
download | cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar.gz cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar.bz2 cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar.lz cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar.xz cuberite-765db880f909e5045653f05fd803db2900f03fc8.tar.zst cuberite-765db880f909e5045653f05fd803db2900f03fc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 0d433d861..944e8aa94 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -1335,11 +1335,6 @@ bool cMonster::WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk) { // If the Y coord is out of range, return the most logical result without considering anything else: int RelY = FloorC(a_Location.y); - if (RelY < 0) - { - // Never burn under the world - return false; - } if (RelY >= cChunkDef::Height) { // Always burn above the world |