mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #2906
This commit is contained in:
parent
4e719dacc3
commit
cc421e7e33
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user