New feature allows a user to ignore other players

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1474 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-15 11:40:46 +00:00
parent 86dce6e092
commit 0246d21e69
16 changed files with 122 additions and 17 deletions

View file

@ -20,8 +20,8 @@ public class Commandantioch extends EssentialsCommand
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
{
charge(user);
server.broadcastMessage("...lobbest thou thy Holy Hand Grenade of Antioch towards thy foe,");
server.broadcastMessage("who being naughty in My sight, shall snuff it.");
ess.broadcastMessage(user.getName(), "...lobbest thou thy Holy Hand Grenade of Antioch towards thy foe,");
ess.broadcastMessage(user.getName(), "who being naughty in My sight, shall snuff it.");
Location loc = user.getLocation();
World world = ((CraftWorld)user.getWorld()).getHandle();