Braces in cubTargetCancel
This commit is contained in:
parent
e20db10066
commit
b699ef475d
@ -149,7 +149,8 @@ public class PerkWolfPet extends Perk
|
||||
{
|
||||
if (event.getEntity().equals(wolf))
|
||||
{
|
||||
if (!Manager.canHurt(owner, (Player) event.getTarget())) {
|
||||
if (!Manager.canHurt(owner, (Player) event.getTarget()))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user