mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02: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:
@@ -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"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user