Fix compiler errors

This commit is contained in:
nossr50
2019-05-18 16:25:52 -07:00
parent 04b4a8e069
commit 04fb4c30fe
21 changed files with 79 additions and 433 deletions

View File

@@ -249,11 +249,9 @@ public class TamingManager extends SkillManager {
}
public void attackTarget(LivingEntity target) {
if(target instanceof Tameable)
{
if (target instanceof Tameable) {
Tameable tameable = (Tameable) target;
if(tameable.getOwner() == getPlayer())
{
if (tameable.getOwner() == getPlayer()) {
return;
}
}