diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-25 18:37:24 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-25 18:37:24 +0200 |
commit | daf5127b28f3c6884e94fc066b3e5e117a6b5d35 (patch) | |
tree | f4f3353962c83967a23b4ee9ba5476697f383be9 /src/WorldStorage | |
parent | Merge pull request #1449 from mc-server/WorldLoader (diff) | |
download | cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar.gz cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar.bz2 cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar.lz cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar.xz cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.tar.zst cuberite-daf5127b28f3c6884e94fc066b3e5e117a6b5d35.zip |
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index bd814e2c7..7a9490cd4 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -1664,7 +1664,7 @@ void cWSSAnvil::LoadHangingFromNBT(cHangingEntity & a_Hanging, const cParsedNBT if (Direction > 0) { Direction = (int)a_NBT.GetByte(Direction); - if ((Direction < 0) || (Direction > 5)) + if ((Direction < 2) || (Direction > 5)) { a_Hanging.SetDirection(BLOCK_FACE_NORTH); } |