diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-12-10 20:41:51 +0100 |
---|---|---|
committer | Benjamin Mintz <bmintz@users.noreply.github.com> | 2015-12-11 01:06:36 +0100 |
commit | 56e7329f297cd8852e344bfebc5761fd4183ed79 (patch) | |
tree | 38ec9cffbf8d55580741dadbbef13d60c7312c91 /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Put the entire compile.sh script in a code block for security (diff) | |
download | cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar.gz cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar.bz2 cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar.lz cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar.xz cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.tar.zst cuberite-56e7329f297cd8852e344bfebc5761fd4183ed79.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 1 |
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"); |