mirror of
https://github.com/5vl/Troll.git
synced 2025-11-09 04:53:34 +00:00
Made fake op.
This commit is contained in:
@@ -13,6 +13,7 @@ object TrollGui {
|
||||
val gui = Bukkit.createInventory(null, 54, Utils.color("<color:#ff9e36>Troll Menu - ${target.name}</color>"))
|
||||
gui.setItem(0, getYeetItem())
|
||||
gui.setItem(1, getPigBombItem())
|
||||
gui.setItem(2, getFakeOpItem())
|
||||
inTrollGui[from] = target
|
||||
return gui
|
||||
}
|
||||
@@ -34,4 +35,13 @@ object TrollGui {
|
||||
item.itemMeta = meta
|
||||
return item
|
||||
}
|
||||
|
||||
private fun getFakeOpItem(): ItemStack {
|
||||
val item = ItemStack(Material.BARRIER)
|
||||
val meta = item.itemMeta
|
||||
meta.displayName(Utils.color("<color:#ff462e>Fake Op</color>"))
|
||||
meta.lore(Utils.loreBuilder("This will fake op the player."))
|
||||
item.itemMeta = meta
|
||||
return item
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user