Slowly destroying the brock is not possible with Bukkit/Spigot and therefore are Bukkit Runnables not your problem. You need to lock into packets...
My plugin. It does more stuff, but also should fulfill your needs (the page is in german, but you can change the language in the config.yml). All...
Print the current item to the console and replicate the 'bug'. I didn't test your exact case, but a few days ago I had to prevent any item...
I'm pretty sure this calls the event with #getCurrentItem().
I use this
The last 1.8 update was released more than 5 years ago. For a game that has been out for roughly 10 years, that is pretty significant. I get why...
I read a lot of plugin requests here, and I immediately skip over every one that says 1.8 (mostly even <1.13) because of what craftcreeper said.
1.8 is quite a turnoff
Bukkit.getServer().getOnlinePlayers() returns a collection of all the players online. Get the location from each player and store it.
If you want to keep consistency you have to check both hands.
Yes, but don't blatantly check the enchantment, this can throw errors. Use ItemStack#hasItemMeta and the ItemMeta#hasEnchantment. Alternatively...
IDE's have problems showing the exact problems when you use lamdas. I'm pretty sure that's not how you start a stream. Instead of using <> to...
@zThana Are you sure? I rather create one instance on enable and pass this. Though in like 99% of cases you don't need to access the event from...
I'm terribly sorry I forgot about this. I am busy and don't have time to do this but I left some thoughts on it if anyone else wants to do it:...
Maybe it falls under ItemFlag.HIDE_POTION_EFFECTS
I don't know anymore at this point, sorry. Maybe it has something to do with the block it's attached to but I'm just guessing...
Did you #setBlockData()?
@Altostratus Check the edit on the post, I made a mistake.
No, youre completely missunderstanding it. //code blabla... if(block.getBlockData() instanceof org.bukkit.block.data.type.Sign)...
If the block is a wallsign, try "org.bukkit.block.data.type.WallSign" instead. And yes, I meant what you corrected.
Separate names with a comma.