Skip to content

Commit

Permalink
修复一次性门格海绵
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuRuoLing committed Oct 5, 2024
1 parent 54d4a84 commit e739008
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import net.minecraft.core.Direction;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.sounds.SoundSource;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.Block;
Expand Down Expand Up @@ -46,7 +45,6 @@ public MengerSpongeBlock(Properties properties) {
@Override
protected void tryAbsorbWater(@NotNull Level level, @NotNull BlockPos pos) {
if (this.removeFluidBreadthFirstSearch(level, pos)) {
level.setBlock(pos, Blocks.WET_SPONGE.defaultBlockState(), 2);
level.playSound(
null,
pos,
Expand Down

0 comments on commit e739008

Please sign in to comment.