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:
parent
905cc96dff
commit
f10386bad5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user