Command cleanup

This commit is contained in:
KHobbits 2011-11-18 12:06:59 +00:00
parent e5c77c1aeb
commit e54d73704e
36 changed files with 165 additions and 162 deletions

View file

@ -8,7 +8,6 @@ import org.bukkit.util.Vector;
public class Commandfireball extends EssentialsCommand
{
public Commandfireball()
{
super("fireball");
@ -17,7 +16,7 @@ public class Commandfireball extends EssentialsCommand
@Override
protected void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
{
final Vector direction = user.getEyeLocation().getDirection().multiply(2);
final Vector direction = user.getEyeLocation().getDirection().multiply(2);
user.getWorld().spawn(user.getEyeLocation().add(direction.getX(), direction.getY(), direction.getZ()), Fireball.class);
}
}