mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Living: Remove nonsensical >0 condition on boolean
Maybe this once returned integers, but it doesn't anymore.
This commit is contained in:
parent
3c936e1be8
commit
74239eec69
@ -387,7 +387,7 @@ abstract class Living extends Entity implements Damageable{
|
||||
}
|
||||
|
||||
if($e !== null){
|
||||
if($e->isOnFire() > 0){
|
||||
if($e->isOnFire()){
|
||||
$this->setOnFire(2 * $this->level->getDifficulty());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user