diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-03-08 12:24:33 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-03-08 12:24:33 +0100 |
commit | b37966fd214fb048a415a33291a85ee8c263691c (patch) | |
tree | 12fc18f87b61607b051631acdb217ef35a07f7bb /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Add new tnt documentation (diff) | |
download | cuberite-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 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index 06b815333..17cf838c3 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -588,7 +588,7 @@ void cNBTChunkSerializer::AddTNTEntity(cTNTEntity * a_TNT) { m_Writer.BeginCompound(""); AddBasicEntity(a_TNT, "PrimedTnt"); - m_Writer.AddByte("Fuse", ((unsigned char)a_TNT->GetFuseTicks()) * 10); + m_Writer.AddByte("Fuse", (unsigned char)a_TNT->GetFuseTicks()); m_Writer.EndCompound(); } |