mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
updated pocketmine/nbt dependency
this is going to need work on exception handling, but right now it's so inconsistent that it doesn't matter anyway.
This commit is contained in:
@ -60,7 +60,7 @@ class PrimedTNT extends Entity implements Explosive{
|
||||
protected function initEntity(CompoundTag $nbt) : void{
|
||||
parent::initEntity($nbt);
|
||||
|
||||
$this->fuse = $nbt->getShort("Fuse", 80, true);
|
||||
$this->fuse = $nbt->getShort("Fuse", 80);
|
||||
|
||||
$this->getWorld()->addSound($this->location, new IgniteSound());
|
||||
}
|
||||
|
Reference in New Issue
Block a user