summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-07 23:04:54 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-07 23:04:54 +0200
commitf10386bad5697a3d8acb4dcb58ad43079904b54c (patch)
treee2784e4e28d5b43a45befc14a63b05094ad87f7c /source
parentFixed an assert in entities when destroying an entity without ever initializing it (diff)
downloadcuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar.gz
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar.bz2
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar.lz
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar.xz
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.tar.zst
cuberite-f10386bad5697a3d8acb4dcb58ad43079904b54c.zip
Diffstat (limited to 'source')
-rw-r--r--source/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/WorldStorage/WSSAnvil.cpp b/source/WorldStorage/WSSAnvil.cpp
index 5d48ee1f5..f14d4918b 100644
--- a/source/WorldStorage/WSSAnvil.cpp
+++ b/source/WorldStorage/WSSAnvil.cpp
@@ -447,7 +447,7 @@ cChunkDef::BiomeMap * cWSSAnvil::LoadVanillaBiomeMapFromNBT(cChunkDef::BiomeMap
{
return NULL;
}
- if (a_NBT.GetDataLength(a_TagIdx) != sizeof(*a_BiomeMap))
+ if (a_NBT.GetDataLength(a_TagIdx) != 16 * 16)
{
// The biomes stored don't match in size
return NULL;