qpwoeiruty Posted August 15, 2014 Posted August 15, 2014 I have a gui that displays fine but I want to access the variables from that class. I have successfully done this I think by looking at the horse gui, but now get a crash when I try to open it. I think it is due to: return new GUIBlockling(player.inventory, new InventoryBlockling("Inventory", 22), null); I had an error there before, but am not sure how to resolve it, sorry I am still trying to learn both java and modding. Quote
sequituri Posted August 15, 2014 Posted August 15, 2014 I have absolutely no idea what arguments your GUIBlockling constructor expects as you do no show the code. We are not clairvoyant here. Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
qpwoeiruty Posted August 16, 2014 Author Posted August 16, 2014 Oh yeah, sorry: public GUIBlockling(InventoryPlayer inventoryPlayer, InventoryBlockling inv, EntityBlockling entityBlockling) { Quote
sequituri Posted August 16, 2014 Posted August 16, 2014 On 8/16/2014 at 10:39 AM, qpwoeiruty said: Oh yeah, sorry: public GUIBlockling(InventoryPlayer inventoryPlayer, InventoryBlockling inv, EntityBlockling entityBlockling) { I still have no idea what you are doing with those arguments, and I'm sick of playing hide and seek, Maybe someone else can help you. Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
Recommended Posts
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.