From e025a1a09980d61e3775b024eff5856189256c7a Mon Sep 17 00:00:00 2001 From: ementalo Date: Tue, 3 May 2011 23:39:10 +0000 Subject: [PATCH] [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 --- .../src/com/earth2me/essentials/commands/Commandwarp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwarp.java b/Essentials/src/com/earth2me/essentials/commands/Commandwarp.java index 19cfc86ce..4a7765dab 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwarp.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwarp.java @@ -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)