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 (event.getEntity().equals(wolf))
|
||||||
{
|
{
|
||||||
if (!Manager.canHurt(owner, (Player) event.getTarget())) {
|
if (!Manager.canHurt(owner, (Player) event.getTarget()))
|
||||||
|
{
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user