EpicBanItemTeam / VirtualChest

A sponge plugin providing virtual chest GUIs for menus like ChestCommands
https://ore.spongepowered.org/zzzz/VirtualChest
GNU Lesser General Public License v3.0
34 stars 12 forks source link

Command doesn't work when clicked #56

Closed XinesMC closed 6 years ago

XinesMC commented 6 years ago
  Slot9 {
    Item {
      ItemType = "pixelmon:pixelmon_sprite"
      Count = 1
      UnsafeDamage = 0
      UnsafeData {
        SpriteName = "pixelmon:sprites/pokemon/246"
      }
      DisplayName = "&6Larvitar"
      ItemLore = [
        "&bShiny Pokemon Allowance: &41 shiny remaining!"
        "&bClick to equip!"
      ]
    }
  }
  PrimaryAction {
    Command = "cost: 7; virtualchest open example"
    KeepInventoryOpen = true
  }
  TriggerItem {
    ItemType = "minecraft:compass"
    EnablePrimaryAction = false
    EnableSecondaryAction = false
  }
}  
ustc-zzzz commented 6 years ago

I've adjusted the indentations. You may be able to find the problem now.