mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
[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:
parent
11740c49bc
commit
e025a1a099
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue