mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
Maybe I should stop using PhpStorm EAPs
This commit is contained in:
parent
456ddd3fb3
commit
672b7610a9
@ -2309,7 +2309,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
$ev->setCancelled();
|
$ev->setCancelled();
|
||||||
}
|
}
|
||||||
|
|
||||||
$target->attack($ev->getFinalDamage(), $ev);
|
$target->attack($ev);
|
||||||
|
|
||||||
if($ev->isCancelled()){
|
if($ev->isCancelled()){
|
||||||
if($item->isTool() and $this->isSurvival()){
|
if($item->isTool() and $this->isSurvival()){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user