Jump to content

Zerot

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Zerot's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The problem is most likely not in your container definition, but in your Gui definition. You most likely didn't set GuiContainer.guiLeft, GuiContainer.guiTop, GuiContainer.xSize and GuiContainer.ySize. These variables are used in the gui (GuiContainer line 385) to check if you clicked outside of the gui and if that is the case, set the slot to -999 which means that the item is dropped. You don't need to set guiLeft and guiRight if the window is centered like every normal gui. initGui() will set them for you using xSize and ySize.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.