*Actually* fixed exploit with PTP on yourself

This commit is contained in:
nossr50 2012-04-27 02:25:23 -07:00
parent 8dec24693c
commit ac35f002f1
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Version 1.3.06-dev
+ Added API functions for admin & party chat
+ Added Iron Grip skill to Unarmed which gives players an chance to keep from being disarmed.
+ Added some new languages to the locale files.
= Fixed exploit where you could teleport to yourself with PTP to prevent things like fall damage
= Fixed NPE error with Metrics on startup
= Fixed bug where Herbalism required double drops permission to give XP
= Fixed bug where {0} would be displayed in front of your power level in mcstats

View File

@ -53,6 +53,7 @@ public class PtpCommand implements CommandExecutor {
if (player.equals(target)) {
player.sendMessage("You can't teleport to yourself!"); //TODO: Use locale
return true;
}
if (target == null) {