Braces in cubTargetCancel

This commit is contained in:
Spencer 2017-12-28 20:54:00 -05:00 committed by Alexander Meech
parent e20db10066
commit b699ef475d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }