Skip to content

Commit

Permalink
import change
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxLlN authored Aug 14, 2024
1 parent a08c41e commit 9a6bb9f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import org.bukkit.entity.Player
import org.bukkit.event.entity.EntityDamageByEntityEvent
import org.bukkit.inventory.ItemFlag
import org.bukkit.inventory.ItemStack
import taboolib.internal.xseries.XMaterial
import taboolib.util.item.ItemBuilder
import taboolib.common.platform.Awake
import taboolib.common.platform.event.SubscribeEvent
import taboolib.library.xseries.XMaterial
import taboolib.platform.util.buildItem

/**
* Land
Expand Down Expand Up @@ -40,7 +42,7 @@ object PermDamageAnimals : Permission {
get() = true

override fun generateMenuItem(land: Land): ItemStack {
return ItemBuilder(XMaterial.IRON_SWORD){
return buildItem(XMaterial.IRON_SWORD){
name = "&f攻击动物 ${land.getFlagOrNull(id).display}"
lore += listOf(
"&7允许行为:",
Expand Down

0 comments on commit 9a6bb9f

Please sign in to comment.