Skip to content

Commit c459425

Browse files
committed
Remove unneeded TODO
1 parent 8b05067 commit c459425

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

common/src/main/java/juuxel/adorn/block/CarpetedBlock.java

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Ran
7878
if (carpet.isPresent()) {
7979
var carpetBlock = COLORS_TO_BLOCKS.get(carpet.value());
8080
if (!carpetBlock.getDefaultState().canPlaceAt(world, pos)) {
81-
// TODO: a null player here is potentially dangerous
8281
carpetBlock.onBreak(world, pos, state, null);
8382
dropStacks(carpetBlock.getDefaultState(), world, pos);
8483
world.setBlockState(pos, state.with(CARPET, CARPET.getNone()));

0 commit comments

Comments
 (0)