mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-27 16:02:17 +00:00
Fix computers and turtles breaking without particles.
This is a very jarring bug in creative mode.
This commit is contained in:
parent
f5c8afa566
commit
dc20050547
@ -140,6 +140,8 @@ public abstract class BlockComputerBase<T extends TileComputerBase> extends Bloc
|
||||
@Override
|
||||
public void playerWillDestroy( @Nonnull Level world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull Player player )
|
||||
{
|
||||
super.playerWillDestroy( world, pos, state, player );
|
||||
|
||||
if( !(world instanceof ServerLevel serverWorld) ) return;
|
||||
|
||||
// We drop the item here instead of doing it in the harvest method, as we should
|
||||
|
Loading…
x
Reference in New Issue
Block a user