Posted June 20, 201312 yr 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.)
June 20, 201312 yr 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.
June 20, 201312 yr Author Thanks for the reply. I will test that as soon as I get home. Do you have any ideas why my slots may be off?
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.