More compiler fixes
This commit is contained in:
parent
6097311ca6
commit
dca9f84ccf
23 changed files with 110 additions and 106 deletions
|
@ -1,6 +1,10 @@
|
|||
package ru.betterend.util;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.BlockPos.MutableBlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
|
@ -19,9 +23,6 @@ import ru.betterend.blocks.BlueVineBlock;
|
|||
import ru.betterend.blocks.basis.FurBlock;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
public class BlockFixer {
|
||||
private static final BlockState AIR = Blocks.AIR.defaultBlockState();
|
||||
private static final BlockState WATER = Blocks.WATER.defaultBlockState();
|
||||
|
@ -75,7 +76,7 @@ public class BlockFixer {
|
|||
for (Direction dir : BlocksHelper.HORIZONTAL) {
|
||||
if (level.isEmptyBlock(POS.relative(dir))) {
|
||||
try {
|
||||
level.getLiquidTicks().scheduleTick(POS, state.getFluidState().getType(), 0);
|
||||
level.scheduleTick(POS, state.getFluidState().getType(), 0);
|
||||
}
|
||||
catch (Exception e) {}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue