mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed #2244
This commit is contained in:
@ -2518,7 +2518,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
if($this->dead === true){
|
if($this->dead === true){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if($this->isCreative() === 1){
|
if($this->isCreative()){
|
||||||
if($source instanceof EntityDamageEvent){
|
if($source instanceof EntityDamageEvent){
|
||||||
$cause = $source->getCause();
|
$cause = $source->getCause();
|
||||||
}else{
|
}else{
|
||||||
|
Reference in New Issue
Block a user