mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
Fixed #2244
This commit is contained in:
parent
c4c374e3fa
commit
8cb9dd9a14
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user