Make players invincible by default

This commit is contained in:
Telesphoreo 2020-08-18 01:42:22 -05:00
parent c4f60e4e69
commit db22d8ca86

View file

@ -1230,6 +1230,12 @@ public class PKListener implements Listener {
player.sendMessage(ChatColor.translateAlternateColorCodes('&', bottomBorder)); player.sendMessage(ChatColor.translateAlternateColorCodes('&', bottomBorder));
} }
}, 20 * 4); }, 20 * 4);
// TFM Start - make players invincible by default
if (!Commands.invincible.contains(player.getName())) {
Commands.invincible.add(player.getName());
}
// TFM End
} }
} }