Cleaned up code
All checks were successful
build / build (push) Successful in 1m25s

This commit is contained in:
2025-05-19 12:06:39 +02:00
parent deb338f2c8
commit 151fd022c4
2 changed files with 7 additions and 9 deletions

View File

@ -40,9 +40,7 @@ public abstract class BlockMixin {
Block.dropStack(world, pos, drop);
}
}
world.getServer().executeSync(() -> {
world.setBlockState(pos, seedBlock.getDefaultState());
});
world.getServer().executeSync(() -> world.setBlockState(pos, seedBlock.getDefaultState()));
player.incrementStat(Stats.USED.getOrCreateStat(seedItem));
cir.cancel();
}