!Removed occurence of speed malus (moved to MMOLib)

This commit is contained in:
Indyuce 2019-12-30 00:31:06 +01:00
parent ff8effdd81
commit 7102cad2eb
2 changed files with 0 additions and 22 deletions

View File

@ -26,7 +26,6 @@ import net.Indyuce.mmocore.api.player.PlayerData;
public class ConfigManager {
public float speedMalus;
public boolean overrideVanillaExp, hotbarSwap;
public double expPartyBuff, regenPartyBuff;
public String partyChatPrefix;
@ -94,7 +93,6 @@ public class ConfigManager {
}
public void loadOptions() {
speedMalus = (float) MMOCore.plugin.getConfig().getDouble("heavy-armors.speed-malus") / 100;
messages = new ConfigFile("messages").getConfig();
hotbarSwap = MMOCore.plugin.getConfig().getBoolean("hotbar-swap");
chatInput = MMOCore.plugin.getConfig().getBoolean("use-chat-input");

View File

@ -7,26 +7,6 @@ auto-save:
# In seconds (1800 = 30 minutes)
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
# BLOCK REGEN and BLOCK RESTRICTIONS to apply.
# Set to 'custom-mine-conditions: []' for no condition.