summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
commitb37966fd214fb048a415a33291a85ee8c263691c (patch)
tree12fc18f87b61607b051631acdb217ef35a07f7bb /src/WorldStorage/WSSAnvil.cpp
parentAdd new tnt documentation (diff)
downloadcuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.gz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.bz2
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.lz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.xz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.zst
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index fa0c4dbd9..b52b74932 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -2184,8 +2184,7 @@ void cWSSAnvil::LoadTNTFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NB
int FuseTicks = a_NBT.FindChildByName(a_TagIdx, "Fuse");
if (FuseTicks > 0)
{
- int MojangFuseTicks = (int) a_NBT.GetByte(FuseTicks);
- TNT->SetFuseTicks((double) MojangFuseTicks / 10);
+ TNT->SetFuseTicks((int) a_NBT.GetByte(FuseTicks));
}
a_Entities.push_back(TNT.release());