mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-30 04:09:09 +00:00
Add configurable cap on the damage players can take in a single hit
This commit is contained in:
@@ -152,6 +152,12 @@ public final class WorldConfiguration extends ConfigurationPart {
|
||||
public boolean oldEnchantedGoldenApple = false;
|
||||
public boolean oldSoundsAndParticleEffects = false;
|
||||
public boolean fastHealthRegen = true;
|
||||
|
||||
@Comment(
|
||||
"The maximum damage a player can take in a single hit.\n" +
|
||||
"This can prevent arrows and maces instantly killing players."
|
||||
)
|
||||
public DoubleOr.Disabled maxDamage = DoubleOr.Disabled.DISABLED;
|
||||
public IntOr.Default maxArmourDamage = IntOr.Default.USE_DEFAULT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user