byteful / LevelTools

A Spigot/Bukkit plugin that adds a leveling system to tools, swords, and bows. https://discord.gg/G8BDgqsuyw
GNU Affero General Public License v3.0
13 stars 6 forks source link

[Bug] A check in BlockBreakEvent causes issues with certain server setups. #32

Closed byteful closed 2 years ago

byteful commented 2 years ago

The !block.getDrops(hand).isEmpty() check in the BlockBreakEvent to insure that players are only receiving XP when they actually get a drop out of the block seems to be causing issues with certain server setups. (sorry for the long ass sentence)

Probably best to just scrap this check. I doubt it really matters.

byteful commented 2 years ago

Also, this was reported by Hxtch#4275 on Discord.