This commit is contained in:
t00thpick1 2014-08-05 19:15:22 -04:00
parent df4fc8149d
commit fe4699430d

View File

@ -615,7 +615,7 @@ public class EntityListener implements Listener {
Player player = (Player) target;
Tameable tameable = (Tameable) entity;
if (!CombatUtils.isFriendlyPet(player, tameable)) {
if (!UserManager.hasPlayerDataKey(player) || !CombatUtils.isFriendlyPet(player, tameable)) {
return;
}