Resolved Inventory.getFirst() interact attempt on non-visible item

Discussion in 'Client & Site Support' started by Aidden, Sep 26, 2014.

  1. Aidden

    Aidden The better executive ;)

    Joined:
    Dec 3, 2013
    Messages:
    3,441
    Likes Received:
    702
    If you get the first of an item and its in the inventory but not visible for example if your inventory is scrolled down and the items at the top, interact will hover where the item actually is rather than scrolling up to it.
    @Cloud
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,542
    Likes Received:
    1,058
    Not sure if client should be responsible for that behavior or not. I'll wait for Cloud to respond though.
     
  3. Aidden

    Aidden The better executive ;)

    Joined:
    Dec 3, 2013
    Messages:
    3,441
    Likes Received:
    702
    I figured it's similar to isVisible() for objects. If it's not visible it shouldn't attempt to interact in the first place
     
  4. Cloud

    Cloud Just another one...

    Joined:
    Jul 28, 2013
    Messages:
    2,466
    Likes Received:
    835
    Functionality was already implemented but there were a few changes, it's patched for the next release.
     

Share This Page

Loading...