From 74dc8d4118c41a651ab7fe737aa15808e5a460f4 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 16 Sep 2018 19:58:44 -0700 Subject: [PATCH] unneeded --- src/main/java/baritone/utils/BlockStateInterface.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/baritone/utils/BlockStateInterface.java b/src/main/java/baritone/utils/BlockStateInterface.java index bb4d094d..6db9a66e 100644 --- a/src/main/java/baritone/utils/BlockStateInterface.java +++ b/src/main/java/baritone/utils/BlockStateInterface.java @@ -39,10 +39,6 @@ public class BlockStateInterface implements Helper { private static CachedRegion prevCached = null; private static IBlockState AIR = Blocks.AIR.getDefaultState(); - public static final Block waterFlowing = Blocks.FLOWING_WATER; - public static final Block waterStill = Blocks.WATER; - public static final Block lavaFlowing = Blocks.FLOWING_LAVA; - public static final Block lavaStill = Blocks.LAVA; public static IBlockState get(BlockPos pos) { return get(pos.getX(), pos.getY(), pos.getZ()); @@ -111,7 +107,7 @@ public class BlockStateInterface implements Helper { * @return Whether or not the block is water */ public static boolean isWater(Block b) { - return b == waterFlowing || b == waterStill; + return b == Blocks.FLOWING_WATER || b == Blocks.WATER; } /** @@ -126,7 +122,7 @@ public class BlockStateInterface implements Helper { } public static boolean isLava(Block b) { - return b == lavaFlowing || b == lavaStill; + return b == Blocks.FLOWING_LAVA || b == Blocks.LAVA; } /**