mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 10:19:39 +00:00
Door: add missing return type to getFullDamage()
This commit is contained in:
parent
239fe909be
commit
d8acae5495
@ -36,7 +36,7 @@ abstract class Door extends Transparent{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getFullDamage(){
|
private function getFullDamage() : int{
|
||||||
$damage = $this->getDamage();
|
$damage = $this->getDamage();
|
||||||
$isUp = ($damage & 0x08) > 0;
|
$isUp = ($damage & 0x08) > 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user