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...
Separate names with a comma.