We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b05067 commit c459425Copy full SHA for c459425
common/src/main/java/juuxel/adorn/block/CarpetedBlock.java
@@ -78,7 +78,6 @@ public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Ran
78
if (carpet.isPresent()) {
79
var carpetBlock = COLORS_TO_BLOCKS.get(carpet.value());
80
if (!carpetBlock.getDefaultState().canPlaceAt(world, pos)) {
81
- // TODO: a null player here is potentially dangerous
82
carpetBlock.onBreak(world, pos, state, null);
83
dropStacks(carpetBlock.getDefaultState(), world, pos);
84
world.setBlockState(pos, state.with(CARPET, CARPET.getNone()));
0 commit comments