summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-12-10 20:41:51 +0100
committerGargaj <gargaj@conspiracy.hu>2015-12-10 20:54:55 +0100
commitd05fdbdee99a2e77fc8662ba7288d36052ecfad7 (patch)
treea34ab94fc73c193ec62a41b4af5070d230b0f2b4 /src/WorldStorage/NBTChunkSerializer.cpp
parentMerge pull request #2720 from cuberite/OreNestsFix (diff)
downloadcuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.gz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.bz2
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.lz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.xz
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.tar.zst
cuberite-d05fdbdee99a2e77fc8662ba7288d36052ecfad7.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index 855fcea09..b0451e427 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -922,6 +922,7 @@ void cNBTChunkSerializer::Entity(cEntity * a_Entity)
case cEntity::etItemFrame: AddItemFrameEntity (reinterpret_cast<cItemFrame *> (a_Entity)); break;
case cEntity::etPainting: AddPaintingEntity (reinterpret_cast<cPainting *> (a_Entity)); break;
case cEntity::etPlayer: return; // Players aren't saved into the world
+ case cEntity::etFloater: return; // Floaters aren't saved either
default:
{
ASSERT(!"Unhandled entity type is being saved");