xTigerRebornx Nope, that doesn't even work
xTigerRebornx Still nothing, this is so screwed up, this should be working if this made any sense! TheAJ471 That is changing the effects on the...
xTigerRebornx It no longer has the error but the same problem as it did first of all, the code is currently as follows: public ItemStack...
xTigerRebornx I tested again and this time it actually generated a proper error: The context I use my potions in is that when someone dies they...
xTigerRebornx public ItemStack healingPotion(int number, String type) { int size = 0; int restoredHP = 0;...
Now it doesnt give the player any potion and says: "Console: java.lang.IllegalArgumentException: Water bottles don't have a level!"
How can I incorporate this into my code correctly?
It acts just like an ordinary Fire Resist, It can't seem to clear the effects or add the new ones to the stack :/
@xTrollxDudex, Yeah, it's added to the player's inventory by calling this method. @Niknea, I create a fire potion, then it's suppose to clear...
Bump*
I've realised I don't actually need to get this information from the config so I don't need any help anymore :/ No one else seems to have had this...
Bare in mind this is in the midst of being re-written so it meets etiquette and it's stupidly inefficient so I have cut out the irrelevant stuff...
Does that onEnable and it has created the config file with all correct details :/
I have a class that is called to setup a cooldown period and set it as InCooldown within the config, when the method calls...
I setup a function that when called, creates a potion and returns an item stack. The potion effects I am trying to apply do not appear on the...
Works like a charm, thanks
I create inventories that players will open when they click a furnace and when they close the inventory screen, all of the items left within the...
Point taken... :/
My server keeps crashing when players interact with the furnace inventory created by my plugin, I'm not sure the exact cause but it's definitely...
The Issue I currently have the problem that I cannot fix, my plugin opens a furnace inventory for the player when they click a certain block. I...
Separate names with a comma.