EDIT: Sorry, misunderstood intent of OP
What is wrong with cancelling the water flow?...
@Kaelten & Curse staff
Thank you for addressing this. If only someone had known about this sooner, the damage could of been lessened, but better...
Some might consider me smart. Others might think I am not smart. Its a super-position. Is it alive or dead? OK, more like an opinion. Bye.
@Chloe-chan Unnecessary string concatenation :P (I guess it is assumed that the OP isn't using "Location" though)
You should probably learn how arrays and variables work in Java first.
1. You have two variables of the same name.
2. An array of...
You need to extract the jars, not just put the jar files in the jar.
Remove the permission node with your permission plugin (Assuming you have one.)
A single '&' is a bitwise AND, you should use a logical AND (&&)
Also, don't test the equality of a boolean (==), check the condition...
Considering there is no '===' operator in Java, good luck with that.
As mentioned above '==' is for reference equality (Does...
One tick is 50 milliseconds (1 second is 1000 milliseconds)
Who needs an IDE? javac and Notepad all the way bruh (in all seriousness, IntelliJ is honestly one of the best IDEs for Java, excellent support...
A few things:
1. InventoryMoveItemEvent is for things like hoppers (& droppers?) (See:...
There is no particular way to make an API.
This could be in the form of a class that has static methods, or like what Bukkit does, and...
You could always debug things yourself by viewing your servers timings.
Very interesting idea. I would also be interested in helping
EDIT: Misread that sentences.
@Scimiguy You should never store Player objects in the first place, because of memory leaks
@Dekay972 Use `org.bukkit.enchantments.Enchantment`
EDIT: I guess I should clarify, just in case. You imported the wrong Enchantment class (the...
You call "endDuel" even if the player is not are not in a "duel".
It is a string vs a enum value, here are the ids http://wiki.vg/Protocol#Particle
Separate names with a comma.