Unique InventoryHolder

Discussion in 'Plugin Development' started by Froshin, Jun 13, 2013.

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



    I need to define a unique InventoryHolder that is an online or offline player nor null.

    Could it be a fake, manufactured player? For fool-proof use it's got to be an impossible user. Not that it matters though, since I doubt anyone would have the username 94538445 in particular.

    Thanks in advance!


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 1, 2016
  2. Offline


    I'm not sure what you mean. If you're asking if you can just create an InventoryHolder object rather than it being attached to a player, then I'm not sure, try it. If you get errors you'll know it doesn't work.
  3. Create a class that implements InventoryHolder and pass that as argument if you are creating a custom inventory.
Thread Status:
Not open for further replies.

Share This Page