1
0

Anvil loader: fixed Vanilla biomes not being read

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1370 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-04-07 21:04:54 +00:00
parent 905cc96dff
commit f10386bad5

View File

@ -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;