From f10386bad5697a3d8acb4dcb58ad43079904b54c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 7 Apr 2013 21:04:54 +0000 Subject: Anvil loader: fixed Vanilla biomes not being read git-svn-id: http://mc-server.googlecode.com/svn/trunk@1370 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/WorldStorage/WSSAnvil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/WorldStorage') 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; -- cgit v1.2.3