The water placement 'emptying' the bucket visually is handled client side. You can't stop that from happening server side, meaning the...
You could probably also listen for packets, but that get complicated quickly. Using tasks is really the easiest.
@Grauly_ CrossbowMeta in fact has information about the current draw...
Not sure if that is handled client side or not, but you can just use item interact event.
@Strahan if you aren't using IntelliJ, you are missing out.
I wanted him to read that himself. :p
@vijay34 no because PhpStorm is for PHP...
@Xisko by the looks of it your message gets sent, and after that it throws a NPE on line 47 (which is the line i quoted before), which...
Then perhaps it is the only valid one. Have you tried setting the required values using setters?
String killerName = killer.getType().getName();
this seems to be causing your NullPointerException. Killer may be null.
@KarimAKL that is exactly what i meant.
Separate names with a comma.