mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Maybe I should stop using PhpStorm EAPs
This commit is contained in:
@@ -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()){
|
||||||
|
Reference in New Issue
Block a user