PotionType doesnt contain the base potions, and if removing the potions after they brew is all you want then waiting for them to finish is fine...
Okay so I agree with @Scimiguy that what I posted is dirty code. 1 its not scaleable. If you keep adding more potions to block then you eventually...
Lol my bad, didnt know my potion types and never checked if 16 exists as something like idk awkward potion the base of the poison potion.. So...
Currently no Ill look for a way to. EDIT:: This way blocks more then just poison. Didnt test that till now Ill look for a work around.
EDIT::--snip-- bade code no more. Basically just checks if it is a potion then, if the durability is 16 (odd that it has both 4 for bukkit...
In fact a mod will probably come by see its cracked and lock this thread. Js seen it happen plenty of times.
I just started hosting servers for people, currently I am small (5 customers) but I can offer a VPS (xenserver is what i use) or a complete...
Awesome, good catch though :D i was about to do the same and let him know!
He forgot more then that went from 153kb to 10kb theres a ton of stuff missing xD
@SirLittlemonster7 add String sPlr = player.getName(); under Player player = (Player) sender;
Honestly I just c&p'd your code into a listener class and it worked just fine, stopped the lava and water and gave me a message in the console...
Do you have both those onCommands in one class? I would just put them together like so public boolean onCommand(CommandSender sender, Command cmd,...
I believe this BlotheraBlocks.*.Drop: default: op Shouldn't work because you didn't define it anywhere (that I saw anyways)....
Dude you are wrong, it was Chiller that originally post the fix. What you said was complete unrelated to this error. Notice line 9 on that, that...
@puyttre I did this very thing in a test using the code you provided and the plugin.yml remaking the listener class (just blank) got the same...
I thought it was just a debug thing but i wanted to make sure it wasnt an error that you changed to that, thanks for EasyConfig I'm working on...
I almost came back here to ask a question about a problem I made xD Im attempting to get a string from args[1] when i only ask for 1 argument so...
Alright thank you, and no I guess I do not understand instances very well. Ill take myself back a step and go over basic java again that way I...
codename_B I tried the example you gave in my plugin and when using it is giving me Cannot make a static reference to the non-static method...
Please, lol I've been working on a simple warp plugin. Currently the warps only stay till restart, and I'm having trouble finding out how to save...
Separate names with a comma.