summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 10:22:19 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 10:22:19 +0200
commitc4e0da2d0ac8e07a8143f1292020b3839c155eba (patch)
treef4466f37a82a24a1d743d76431e77cfd100121ae
parentFixed #1057 (diff)
downloadcuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar.gz
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar.bz2
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar.lz
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar.xz
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.tar.zst
cuberite-c4e0da2d0ac8e07a8143f1292020b3839c155eba.zip
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index d310c9124..1891762fd 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -2445,7 +2445,7 @@ bool cWSSAnvil::LoadEntityBaseFromNBT(cEntity & a_Entity, const cParsedNBT & a_N
bool cWSSAnvil::LoadMonsterBaseFromNBT(cMonster & a_Monster, const cParsedNBT & a_NBT, int a_TagIdx)
{
float DropChance[5];
- if (!LoadFloatsListFromNBT(DropChance, 5, a_NBT, a_NBT.FindChildByName(a_TagIdx, "DropChance")))
+ if (!LoadFloatsListFromNBT(DropChance, 5, a_NBT, a_NBT.FindChildByName(a_TagIdx, "DropChances")))
{
return false;
}