Fix TNT block not setting fuse NBT correctly (#1917)

This commit is contained in:
DaPorkchop_ 2018-01-14 19:10:57 +01:00 committed by Dylan K. Taylor
parent 8d7c65585c
commit e850f34d76

View File

@ -60,7 +60,7 @@ class TNT extends Solid{
$mot = (new Random())->nextSignedFloat() * M_PI * 2;
$nbt = Entity::createBaseNBT($this->add(0.5, 0, 0.5), new Vector3(-sin($mot) * 0.02, 0.2, -cos($mot) * 0.02));
$nbt->setByte("Fuse", $fuse);
$nbt->setShort("Fuse", $fuse);
$tnt = Entity::createEntity("PrimedTNT", $this->getLevel(), $nbt);