Skip to content

Commit

Permalink
Remove unneeded TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Aug 7, 2024
1 parent 8b05067 commit c459425
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/src/main/java/juuxel/adorn/block/CarpetedBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Ran
if (carpet.isPresent()) {
var carpetBlock = COLORS_TO_BLOCKS.get(carpet.value());
if (!carpetBlock.getDefaultState().canPlaceAt(world, pos)) {
// TODO: a null player here is potentially dangerous
carpetBlock.onBreak(world, pos, state, null);
dropStacks(carpetBlock.getDefaultState(), world, pos);
world.setBlockState(pos, state.with(CARPET, CARPET.getNone()));
Expand Down

0 comments on commit c459425

Please sign in to comment.