diff options
author | KHobbits <rob@khobbits.co.uk> | 2014-06-28 18:10:32 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-06-28 18:10:32 +0100 |
commit | 14059344893e3206d485ca6bd831fd62b01f9fa2 (patch) | |
tree | 302d7b7978891fd2600a42bc487b2499fe09d014 | |
parent | 5b93b8c467526714daec593d043b697cb830090c (diff) | |
download | Essentials-14059344893e3206d485ca6bd831fd62b01f9fa2.tar Essentials-14059344893e3206d485ca6bd831fd62b01f9fa2.tar.gz Essentials-14059344893e3206d485ca6bd831fd62b01f9fa2.tar.lz Essentials-14059344893e3206d485ca6bd831fd62b01f9fa2.tar.xz Essentials-14059344893e3206d485ca6bd831fd62b01f9fa2.zip |
Show warp teleport status to teleport owner.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Teleport.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java index 6203f3a3b..9fc153d92 100644 --- a/Essentials/src/com/earth2me/essentials/Teleport.java +++ b/Essentials/src/com/earth2me/essentials/Teleport.java @@ -256,6 +256,10 @@ public class Teleport implements net.ess3.api.ITeleport { Location loc = ess.getWarps().getWarp(warp); teleportee.sendMessage(tl("warpingTo", warp, loc.getWorld().getName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ())); + if (!teleportee.equals(teleportOwner)) + { + teleportOwner.sendMessage(tl("warpingTo", warp, loc.getWorld().getName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ())); + } teleport(teleportee, new LocationTarget(loc), chargeFor, cause); } |