Updated configuration file layout. Added new post-protection features (configurable): water protection, lava protection and fire protection. Changed default configuration values.
This commit is contained in:
@ -39,7 +39,7 @@ public class ProtectedPlayers {
|
||||
protected_players.remove(protected_player);
|
||||
|
||||
ServerPlayer player = ServerLifecycleHooks.getCurrentServer().getPlayerList().getPlayer(player_uuid);
|
||||
if (player == null || !Config.GRACE_ENABLED.get()) { return; }
|
||||
if (player == null || !Config.POST_GRACE_ENABLED.get()) { return; }
|
||||
player.sendMessage(new TextComponent("Grace Period over!"), player_uuid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user