You don't need the try/catch if you have the if(player != null) statement. Also, clean code tip here. Notice how you have if(player != null)...
What precisely is the issue? Are you saying that none of your listeners are working? Are you receiving any errors?
Go into the server console and post the error message.
Any ideas on how I could detect a Jungle Temple puzzles' completion? If a player completes it, something good happens, for example. Need this...
I ended up just compromising and making it so an enemy being removed from far away counted as a death.
Between my automatic tests and the program itself, the mobs are being removed in a couple different spots and I would rather not duplicate code if...
Got it, thanks! Always wondered why the packages had Adventure in their name. Also, you're solution worked. Thank you
What is "Adventure API"? Do you mean the Paper API?
How can I get the cause of why an entity was removed? I'm use Paper and their API marks EntityRemoveEvent and EntityRemoveEvent.Cause deprecated....
How can I make item lore not in italics? Here's my code and it makes the text decoration italic by default. player = (Player) sender;...
@EventHandler public void onBlockDisplayClick(PlayerInteractEvent event) { float errorMargin = 1f; int rayLength = 8;...
block.setRotation(0f, 0f) is exactly what I needed. Thank you, that worked. For those looking to replicate, I was able to snap it to the grid by...
Separate names with a comma.