mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-11-28 12:35:38 +01:00
Fix
This commit is contained in:
parent
24879ffbd9
commit
6ea5479b26
@ -55,7 +55,7 @@ class MinerMinionType : MinionType("miner", AxMinionsPlugin.INSTANCE.getResource
|
||||
val efficiency = 1.0 - if (tool > 0.9) 0.9 else tool
|
||||
minionImpl.setNextAction((getLong("speed", minion.getLevel()) * efficiency).roundToInt())
|
||||
|
||||
generatorMode = getConfig().getString("break") == "generator"
|
||||
generatorMode = getConfig().getString("break", "generator").equals("generator", true)
|
||||
whitelist.clear()
|
||||
getConfig().getStringList("whitelist").fastFor {
|
||||
whitelist.add(Material.matchMaterial(it.uppercase(Locale.ENGLISH)) ?: return@fastFor)
|
||||
|
Loading…
Reference in New Issue
Block a user