Posted May 11, 20169 yr Okay so i've fixed the bug where my mod disables flight for other mods, however now i've ran into another issue and i must be blind because I can't see what's wrong. Any help would be appreciated. The bug is that if i wear a full set of my topaz armor I can fly, if i take off each peice, EXCEPT the chestpeice, I fall to the ground, however if i take off the chest peice while still wearing the other 3, I do not fall to the ground, I instead, stay flying. After removing the chest peice i can then remove the rest and still fly without wearing armor, If i place any of the armor piece's back on, it then disables it until i equip the full set again. So i would like some help fixing the issue if anyone could help me here is my code. I copied the whole code instead of just the flying incase anything else was interfering with it. Thanks. http://pastebin.com/uJ9yPmF1
May 11, 20169 yr It is because you put the "stop flying now" code inside the "if wearing chest piece" block. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 11, 20169 yr Author You mean where I have if (player.getItemStackFromSlot)? I need to bracket that?
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.