forked from Upstream/mmocore
!Removed occurence of speed malus (moved to MMOLib)
This commit is contained in:
parent
ff8effdd81
commit
7102cad2eb
@ -26,7 +26,6 @@ import net.Indyuce.mmocore.api.player.PlayerData;
|
|||||||
|
|
||||||
public class ConfigManager {
|
public class ConfigManager {
|
||||||
|
|
||||||
public float speedMalus;
|
|
||||||
public boolean overrideVanillaExp, hotbarSwap;
|
public boolean overrideVanillaExp, hotbarSwap;
|
||||||
public double expPartyBuff, regenPartyBuff;
|
public double expPartyBuff, regenPartyBuff;
|
||||||
public String partyChatPrefix;
|
public String partyChatPrefix;
|
||||||
@ -94,7 +93,6 @@ public class ConfigManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void loadOptions() {
|
public void loadOptions() {
|
||||||
speedMalus = (float) MMOCore.plugin.getConfig().getDouble("heavy-armors.speed-malus") / 100;
|
|
||||||
messages = new ConfigFile("messages").getConfig();
|
messages = new ConfigFile("messages").getConfig();
|
||||||
hotbarSwap = MMOCore.plugin.getConfig().getBoolean("hotbar-swap");
|
hotbarSwap = MMOCore.plugin.getConfig().getBoolean("hotbar-swap");
|
||||||
chatInput = MMOCore.plugin.getConfig().getBoolean("use-chat-input");
|
chatInput = MMOCore.plugin.getConfig().getBoolean("use-chat-input");
|
||||||
|
@ -7,26 +7,6 @@ auto-save:
|
|||||||
# In seconds (1800 = 30 minutes)
|
# In seconds (1800 = 30 minutes)
|
||||||
interval: 1800
|
interval: 1800
|
||||||
|
|
||||||
# Wearing heavy pieces of armors reduces
|
|
||||||
# your movement speed by a specific amount,
|
|
||||||
# relative to your current move speed.
|
|
||||||
heavy-armors:
|
|
||||||
|
|
||||||
# The movement speed reduction in % for each heavy armor piece worn.
|
|
||||||
speed-malus: 5.0
|
|
||||||
|
|
||||||
# The list of heavy armor pieces. By default gold is not
|
|
||||||
# considered a heavy armor to incite players to use this armor set.
|
|
||||||
list:
|
|
||||||
- DIAMOND_HELMET
|
|
||||||
- DIAMOND_CHESTPLATE
|
|
||||||
- DIAMOND_LEGGINGS
|
|
||||||
- DIAMOND_BOOTS
|
|
||||||
- IRON_HELMET
|
|
||||||
- IRON_CHESTPLATE
|
|
||||||
- IRON_LEGGINGS
|
|
||||||
- IRON_BOOTS
|
|
||||||
|
|
||||||
# The list of all conditions which must be met for the
|
# The list of all conditions which must be met for the
|
||||||
# BLOCK REGEN and BLOCK RESTRICTIONS to apply.
|
# BLOCK REGEN and BLOCK RESTRICTIONS to apply.
|
||||||
# Set to 'custom-mine-conditions: []' for no condition.
|
# Set to 'custom-mine-conditions: []' for no condition.
|
||||||
|
Loading…
Reference in New Issue
Block a user