The problem is there are a lot of these situations in my plugin. If i fire events in methods instead of command executors, nearly every method...
If I have some methods which make changes to a player programmatically, while player can execute certain commands to achieve that, should I fire...
Sigh
Did u read? The class comes within my jar confirmed Sorry i cannot give you the exact stack trace but i can tell u the details. During enabling...
My plugin is loaded with no error stack trace printed. When my plugin is enabling, i call a method in a class declared in my plugin, which then a...
Sorry for getting off topic. Dont forget to compare enum with == and UUID with equals
You should use a fileinputstream and inputstreamreader to read file instead of Scanner. line is null.
Like i said, its always better to do the right thing, even the wrong things do not have serious consequences. Sometimes you use Boolean to make...
I believe there are people on Bukkit.org who are not beginners but doesnt know. Also, thats a draft. I think they are good for beginners to...
Bump. I suggest to list both player referencing solutions. If you disagree, i will give up and focus on adding more common mistakes. I have some...
Wouldnt then each block rotate on their own instead of the entire vehicle rotating?
But i can only make 1 block with the helmet
Do i set passenger to let fallingblocks ride on the armorstand? But doesnt a single armorstand only allow 1 passenger? Also how do i set the...
Is FallingBlock what im looking for? Is it possible to group FallingBlocks up like a single entity and rotate or move? Something like <Edit by...
list two options then. Each one has its own advantages.
Im not talking about the creation of this method. Im talking about the recommendation of this method to resolve player memory leak issue.
Bukkit is based on Java. I just come up with an idea that a developer always want implementers to use their method instead of the Java API. Dont...
I disagree with the first one. Both options are free of memory leaks. Weak reference has following advantages: Does not even need map findings,...
Sorry for the misunderstanding. You mean deserialization? So it depends, thats why we should provide two solutions, and possibly with examples...
Again. Weak reference is a good solution. Dont say “badly”. I changed my mind not to remove Bukkit.getPlayer(UUID) back to a few posts. Cant we...
Separate names with a comma.