Jump to content

Recommended Posts

Posted

Hello I made this new gui and when I try to shift click items out of it the game crashes

 

Code

 

Block

 

  Reveal hidden contents

 

 

TileEntity

 

  Reveal hidden contents

 

 

Container

 

  Reveal hidden contents

 

 

Gui

 

  Reveal hidden contents

 

 

Error Log

 

  Reveal hidden contents

 

 

Any help will be helpful!

Posted

mods.gamersmods.fuelresourceful.tileentity.ContainerBlockBreaker.transferStackInSlot(ContainerBlockBreaker.java:57)

 

Line 57 of ContainerBlockBreaker is causing an index out of bounds exception.

Posted
  On 6/16/2013 at 7:03 PM, gamer1097 said:

And what do I do to fix this?

It looks like the size of your inventory is 37, but you're calling transferStackInSlot() with a len of 39. Change it to 38, or, better yet, use inventorySlots.size().

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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