1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

[trunk] Fix chargeFor on teleports

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1379 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo
2011-05-08 23:28:23 +00:00
parent f51cbf2d34
commit fae5c8624c

View File

@@ -174,12 +174,12 @@ public class Teleport implements Runnable
public void teleport(Location loc, String name) throws Exception 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 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 private void teleport(Target target, String chargeFor) throws Exception