From 80e0b84875c69c746a02317be7df42b250987373 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 8 May 2011 23:28:23 +0000 Subject: [PATCH] [trunk] Fix chargeFor on teleports git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1379 e251c2fe-e539-e718-e476-b85c1f46cddb --- Essentials/src/com/earth2me/essentials/Teleport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java index f04a2d8c9..37efb9aea 100644 --- a/Essentials/src/com/earth2me/essentials/Teleport.java +++ b/Essentials/src/com/earth2me/essentials/Teleport.java @@ -174,12 +174,12 @@ public class Teleport implements Runnable public void teleport(Location loc, String name) throws Exception { - teleport(new Target(loc), chargeFor); + teleport(new Target(loc), name); } public void teleport(Entity entity, String name) throws Exception { - teleport(new Target(entity), chargeFor); + teleport(new Target(entity), name); } private void teleport(Target target, String chargeFor) throws Exception