1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
This commit is contained in:
TheBusyBiscuit 2021-03-25 13:59:57 +01:00
parent 4e719dacc3
commit cc421e7e33
2 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,7 @@
* Fixed #2895
* Fixed #2896
* Fixed #2899
* Fixed #2906
## Release Candidate 21 (14 Mar 2021)
https://thebusybiscuit.github.io/builds/TheBusyBiscuit/Slimefun4/stable/#21

View File

@ -57,6 +57,11 @@ public class VanillaInventoryDropHandler<T extends BlockState & InventoryHolder>
@Override
@ParametersAreNonnullByDefault
public void onPlayerBreak(BlockBreakEvent e, ItemStack item, List<ItemStack> drops) {
// Fixes #2906 - Spigot being buggy as always...
if (!PaperLib.isPaper()) {
return;
}
Block b = e.getBlock();
BlockState state = PaperLib.getBlockState(b, false).getState();