Solved Inventory Click Event Issues

Discussion in 'Plugin Development' started by BrickBoy55, Sep 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    BrickBoy55

    Hello, I seem to be having trouble with my inventory click event, everything is basically the same thing except for something like CHESTPLATE instead of HELMET in an enum. But for some reason, the CHESTPLATE seems to not work, while HELMET does. LEGGINGS also works while BOOTS doesn't. My events are registered and I just don't know why only half of the event work. Thanks in advance!

    InventoryClick.java: http://hastebin.com/uloqakijoj.avrasm

    To confirm, the sword inventory, arrow inventory, boots inventory, and helmet inventory work, as the chestplate and leggings one do not.

    (Also no stacktrace in console)

    I hardcore failed. Solved.
     
    Last edited by a moderator: Sep 27, 2015
  2. Offline

    Binner_Done

    I say this a lot, I don't know if it does help anyone but might as well give it a go!

    How did you fix your problem?
     
  3. Offline

    BrickBoy55

    @Binner_Done When I was retrieiving the inventory to check if it was the one I wanted, I named the inventories the opposite one.
     
Thread Status:
Not open for further replies.

Share This Page