/god mode now at least lets you gain health while it is on.

This commit is contained in:
sk89q 2010-11-25 13:47:20 -08:00
parent 64629bd878
commit 13cc6736e2

View File

@ -815,7 +815,7 @@ public boolean onHealthChange(Player player, int oldValue, int newValue) {
String playerName = player.getName();
if (invinciblePlayers.contains(playerName)) {
return true;
return oldValue > newValue;
}
if (loginProtection > 0 || spawnProtection > 0 || kickOnDeath) {