Show teleport cancel messages to tpa user.

This commit is contained in:
KHobbits 2013-05-26 16:49:11 +01:00
parent e4d041b9b0
commit 19451c151e
3 changed files with 5 additions and 5 deletions

View file

@ -67,7 +67,7 @@ public class Commandtpaccept extends EssentialsCommand
target.getTeleport().teleport(user, charge, TeleportCause.COMMAND);
}
}
catch (ChargeException ex)
catch (Exception ex)
{
user.sendMessage(_("pendingTeleportCancelled"));
ess.showError(target, ex, commandLabel);