diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-03 17:16:02 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-03 17:16:02 +0000 |
commit | bcc83874962e0860f463f29efa159bfac014d7a8 (patch) | |
tree | b9399846e69b4bb7e8f6f4ec8408deb99bfc4ec9 | |
parent | 05c902371a53b8785dff5e5d203415e341f828bf (diff) | |
download | Essentials-bcc83874962e0860f463f29efa159bfac014d7a8.tar Essentials-bcc83874962e0860f463f29efa159bfac014d7a8.tar.gz Essentials-bcc83874962e0860f463f29efa159bfac014d7a8.tar.lz Essentials-bcc83874962e0860f463f29efa159bfac014d7a8.tar.xz Essentials-bcc83874962e0860f463f29efa159bfac014d7a8.zip |
[trunk] Cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1106 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java index 002086717..9595668e3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawnmob.java @@ -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")) { |