Jump to content

Gui issues


hambo565

Recommended Posts

Hey guys, yet again i am having more GUI issues. First off the slots are not in line with the gui, secondly shift clicking on items causes the game to crash.

 

my main GUI class is: https://github.com/dualitydub/CoffeeMod/blob/master/CoffeeMod-Common/coffeemod/containers/ContainerBrewer.java

 

(I wuold attach a picture but i cant upload attatchments apparently.)

Link to comment
Share on other sites

I had the same error i fixed it by changing the "public ItemStack transferStackInSlot" method to:

 

public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)

    {

        return null;

    }

 

 

It worked for me, it stopped the game from crashing.  ;D

Link to comment
Share on other sites

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.