mirror of
https://github.com/BlazingGames/blazing-games-plugin.git
synced 2025-02-03 21:26:41 -05:00
Update src/main/java/de/blazemcworld/blazinggames/events/BreakBlockEventListener.java
Co-authored-by: AstroSquared <sys@ivycollective.dev>
This commit is contained in:
parent
e1b2998279
commit
52784918ac
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ public class BreakBlockEventListener implements Listener {
|
|||
|
||||
net.minecraft.world.level.block.state.BlockState nmsBlockState = craftBlock.getNMS();
|
||||
BlockPos pos = craftBlock.getPosition();
|
||||
ServerLevel level = ((CraftBlock) block).getCraftWorld().getHandle();
|
||||
ServerLevel level = craftBlock.getCraftWorld().getHandle();
|
||||
|
||||
return nmsBlockState.getBlock().getExpDrop(nmsBlockState, level, pos, CraftItemStack.asNMSCopy(tool), true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue