mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 10:36:39 +00:00
[trunk] Cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1106 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
05c902371a
commit
bcc8387496
1 changed files with 8 additions and 8 deletions
|
@ -129,15 +129,15 @@ public class Commandspawnmob extends EssentialsCommand
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("tamed"))
|
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("tamed"))
|
||||||
{
|
{
|
||||||
EntityWolf wolf = ((CraftWolf)spawned).getHandle();
|
EntityWolf wolf = ((CraftWolf) spawned).getHandle();
|
||||||
wolf.d(true);
|
wolf.d(true);
|
||||||
wolf.a((PathEntity) null);
|
wolf.a((PathEntity) null);
|
||||||
wolf.b(true);
|
wolf.b(true);
|
||||||
wolf.health = 20;
|
wolf.health = 20;
|
||||||
wolf.a(user.getName());
|
wolf.a(user.getName());
|
||||||
wolf.world.a(wolf, (byte) 7);
|
wolf.world.a(wolf, (byte) 7);
|
||||||
}
|
}
|
||||||
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("angry"))
|
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("angry"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue