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

View File

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