Hotfix: Rework Pickaxe

This commit is contained in:
2024-12-22 22:54:46 +01:00
parent 180fb685bd
commit 4448eab877
2 changed files with 3 additions and 6 deletions

View File

@@ -83,6 +83,9 @@ data class TNTLeagueConfig(
}),
UNBREAKING({
it.addEnchant(Enchantment.UNBREAKING, 1, false)
}),
EFFICIENCY({
it.addEnchant(Enchantment.EFFICIENCY, 1, false)
})
}
}

View File

@@ -123,12 +123,6 @@ data class TNTLeagueTeam(val config: TNTLeagueWorldConfig.TeamConfig, private va
fun start() = members.forEach {
with(it) {
gameMode = GameMode.SURVIVAL
inventory.addItem(ItemStack.of(Material.DIAMOND_PICKAXE).apply {
itemMeta = itemMeta.apply {
isUnbreakable = true
addEnchant(Enchantment.EFFICIENCY, 1, false)
}
})
}
}