The previous CombatTag fix should take care of these.

This commit is contained in:
GJ 2013-04-28 16:52:14 -04:00
parent 62aed496cc
commit 15da9d580b
2 changed files with 1 additions and 5 deletions

View File

@ -115,10 +115,6 @@ public class PlayerListener implements Listener {
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player); McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player);
if (mcMMOPlayer == null) {
return;
}
if (mcMMOPlayer.getGodMode() && !Permissions.mcgod(player)) { if (mcMMOPlayer.getGodMode() && !Permissions.mcgod(player)) {
mcMMOPlayer.toggleGodMode(); mcMMOPlayer.toggleGodMode();
player.sendMessage(LocaleLoader.getString("Commands.GodMode.Forbidden")); player.sendMessage(LocaleLoader.getString("Commands.GodMode.Forbidden"));

View File

@ -262,7 +262,7 @@ public final class CombatUtils {
if (target instanceof Player) { if (target instanceof Player) {
Player player = (Player) target; Player player = (Player) target;
if (Misc.isNPCEntity(player) || !player.isOnline()) { if (Misc.isNPCEntity(player)) {
return; return;
} }