mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-08 17:38:20 +01: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
@ -129,15 +129,15 @@ public class Commandspawnmob extends EssentialsCommand
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("tamed"))
|
||||
{
|
||||
EntityWolf wolf = ((CraftWolf)spawned).getHandle();
|
||||
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("tamed"))
|
||||
{
|
||||
EntityWolf wolf = ((CraftWolf) spawned).getHandle();
|
||||
wolf.d(true);
|
||||
wolf.a((PathEntity) null);
|
||||
wolf.b(true);
|
||||
wolf.health = 20;
|
||||
wolf.a(user.getName());
|
||||
wolf.world.a(wolf, (byte) 7);
|
||||
wolf.a((PathEntity) null);
|
||||
wolf.b(true);
|
||||
wolf.health = 20;
|
||||
wolf.a(user.getName());
|
||||
wolf.world.a(wolf, (byte) 7);
|
||||
}
|
||||
if (split1.length == 2 && "Wolf".equals(mob.name) && split1[1].equalsIgnoreCase("angry"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user