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,282
    Likes Received:
    665
    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,521
    Likes Received:
    1,039
    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,282
    Likes Received:
    665
    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 The Developer

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

Share This Page

Loading...