PrimedTNT: fixed fuse not getting updated client-side, closes #4333

This commit is contained in:
Dylan T 2021-07-25 12:27:25 +01:00
parent 8f01caf335
commit 1afda04620

View File

@ -104,6 +104,7 @@ class PrimedTNT extends Entity implements Explosive{
if(!$this->isFlaggedForDespawn()){
$this->fuse -= $tickDiff;
$this->networkPropertiesDirty = true;
if($this->fuse <= 0){
$this->flagForDespawn();