mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fix player burn time in creative
This commit is contained in:
@ -1235,6 +1235,10 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
return $this->gamemode === Player::SPECTATOR;
|
||||
}
|
||||
|
||||
public function isFireProof() : bool{
|
||||
return $this->isCreative();
|
||||
}
|
||||
|
||||
public function getDrops(){
|
||||
if(!$this->isCreative()){
|
||||
return parent::getDrops();
|
||||
|
Reference in New Issue
Block a user