mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
TNT: expose unstable flag
This commit is contained in:
parent
fd2ebd84b4
commit
bd4ce8d941
@ -64,6 +64,14 @@ class TNT extends Opaque{
|
||||
|
||||
public function getNonPersistentStateBitmask() : int{ return 0b1; }
|
||||
|
||||
public function isUnstable() : bool{ return $this->unstable; }
|
||||
|
||||
/** @return $this */
|
||||
public function setUnstable(bool $unstable) : self{
|
||||
$this->unstable = $unstable;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function worksUnderwater() : bool{ return $this->worksUnderwater; }
|
||||
|
||||
/** @return $this */
|
||||
|
Loading…
x
Reference in New Issue
Block a user