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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user