Hotfix: Rework Pickaxe
This commit is contained in:
@@ -83,6 +83,9 @@ data class TNTLeagueConfig(
|
|||||||
}),
|
}),
|
||||||
UNBREAKING({
|
UNBREAKING({
|
||||||
it.addEnchant(Enchantment.UNBREAKING, 1, false)
|
it.addEnchant(Enchantment.UNBREAKING, 1, false)
|
||||||
|
}),
|
||||||
|
EFFICIENCY({
|
||||||
|
it.addEnchant(Enchantment.EFFICIENCY, 1, false)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,12 +123,6 @@ data class TNTLeagueTeam(val config: TNTLeagueWorldConfig.TeamConfig, private va
|
|||||||
fun start() = members.forEach {
|
fun start() = members.forEach {
|
||||||
with(it) {
|
with(it) {
|
||||||
gameMode = GameMode.SURVIVAL
|
gameMode = GameMode.SURVIVAL
|
||||||
inventory.addItem(ItemStack.of(Material.DIAMOND_PICKAXE).apply {
|
|
||||||
itemMeta = itemMeta.apply {
|
|
||||||
isUnbreakable = true
|
|
||||||
addEnchant(Enchantment.EFFICIENCY, 1, false)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user