[trunk] warps should once again charge if setup in command costs

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1334 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-05-03 23:39:10 +00:00
parent 11740c49bc
commit e025a1a099

View File

@ -59,14 +59,14 @@ public class Commandwarp extends EssentialsCommand
{
if (user.isAuthorized("essentials.warp." + args[0]))
{
user.canAfford(this);
user.charge(this);
user.getTeleport().warp(args[0], this.getName());
return;
}
user.sendMessage("§cYou do not have Permission to use that warp.");
return;
}
user.canAfford(this);
user.charge(this);
user.getTeleport().warp(args[0], this.getName());
}
catch (Exception ex)