Posts by King Nothing

    I have a server and No one even cares that i don't have PNB installed, its not like its the end of the world.


    and NPcs are/were coming next, but people want Mounts, so that is next. Id rather have npcs next so I can finish the projects on my server. but I'll take anything.


    BTW: The Long awaited player Models are the base of NPCs,


    nd there are "temples." Pyramids in the desert, and underwater dungeons, too

    What i Evetually want this to do is check Weather an item is "Sellable" and the Sell Price (the Prices will change and be Written to a databse )
    right now this is just to get the man code working,
    Im using a chest to "eat"the item and give the correct amout of money for it.

    Java
    @EventMethod
    public void PlayerInventoryToChestEvent(PlayerInventoryToChestEvent event){
    Player player = event.getPlayer();
    final int infoId = event.getChestID();
    String Pname = player.getName();
    Chest chest = getWorld().getChest(infoId);
    Item[] Items = chest.getItems();
    // player.sendTextMessage("yes"+NameofItem);
    if (items.getName() != null && item.getName().equals("bandage")){
    }

    ive Tried all Three Methods and get "Cannot Find Symbol"


    if i use getitem without (1) i get "Found no Arguments"



    this CANNOT be done
    Maybe Red can explain why we need an argument for getItem();