mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix IForgeBlock.removedByPlayer not firing on the client. (#6638)
This commit is contained in:
1 parent
1a317a7306
commit
99d8fa1a6b
2 files changed
+18
-12
No files matched your search
@@ -215,7 +215,7 @@ public interface IForgeBlock
|
||||
default boolean removedByPlayer(BlockState state, World world, BlockPos pos, PlayerEntity player, boolean willHarvest, IFluidState fluid)
|
||||
{
|
||||
getBlock().onBlockHarvested(world, pos, state, player);
|
||||
return world.removeBlock(pos, false);
|
||||
return world.setBlockState(pos, fluid.getBlockState(), world.isRemote ? 11 : 3);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user