summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-08 23:28:23 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-08 23:28:23 +0000
commitfae5c8624c327da8ffeeced72eeab4354d11596d (patch)
treedf0b6aef53d51f957a0530ac2e8b4bd69845f22c
parentf51cbf2d34eb82ec4ff1bc9cd172f38f8fc97c67 (diff)
downloadEssentials-fae5c8624c327da8ffeeced72eeab4354d11596d.tar
Essentials-fae5c8624c327da8ffeeced72eeab4354d11596d.tar.gz
Essentials-fae5c8624c327da8ffeeced72eeab4354d11596d.tar.lz
Essentials-fae5c8624c327da8ffeeced72eeab4354d11596d.tar.xz
Essentials-fae5c8624c327da8ffeeced72eeab4354d11596d.zip
[trunk] Fix chargeFor on teleports
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1379 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/Teleport.java4
1 files 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