summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-05-12 01:54:42 +0200
committerarchshift <admin@archshift.com>2014-05-12 01:54:42 +0200
commit3a5e04d118a88dc33930866546007f59fdba951f (patch)
tree0f1f08f4c0c0be97f42d793af85daec1bedf89a1 /src/WorldStorage/NBTChunkSerializer.cpp
parentFixed a few more switch warnings. (diff)
downloadcuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar.gz
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar.bz2
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar.lz
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar.xz
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.tar.zst
cuberite-3a5e04d118a88dc33930866546007f59fdba951f.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index ab80dd7c8..7b7cd3c7e 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -653,6 +653,13 @@ void cNBTChunkSerializer::AddHangingEntity(cHangingEntity * a_Hanging)
case BLOCK_FACE_YP: m_Writer.AddByte("Dir", (unsigned char)1); break;
case BLOCK_FACE_ZM: m_Writer.AddByte("Dir", (unsigned char)0); break;
case BLOCK_FACE_ZP: m_Writer.AddByte("Dir", (unsigned char)3); break;
+
+ case BLOCK_FACE_XM:
+ case BLOCK_FACE_XP:
+ case BLOCK_FACE_NONE:
+ {
+ break;
+ }
}
}