mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00: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:
parent
dae0ce78d1
commit
80e0b84875
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue