diff --git a/src/main/java/com/lishid/openinv/internal/AnySilentChest.java b/src/main/java/com/lishid/openinv/internal/AnySilentChest.java index 0f4fb06..d03a756 100644 --- a/src/main/java/com/lishid/openinv/internal/AnySilentChest.java +++ b/src/main/java/com/lishid/openinv/internal/AnySilentChest.java @@ -60,9 +60,6 @@ public class AnySilentChest { } private boolean blockOnTop(World world, BlockPosition position) { - // return world.getType(position.up()).getBlock().isOccluding(); - - // TODO: Does this work? Block block = world.getType(position.up()).getBlock(); return block.isOccluding(block.getBlockData()); } diff --git a/src/main/java/com/lishid/openinv/internal/EnumDirectionList.java b/src/main/java/com/lishid/openinv/internal/EnumDirectionList.java index fece744..2f49d3f 100644 --- a/src/main/java/com/lishid/openinv/internal/EnumDirectionList.java +++ b/src/main/java/com/lishid/openinv/internal/EnumDirectionList.java @@ -11,9 +11,9 @@ public enum EnumDirectionList implements Iterable { HORIZONTAL(EnumDirectionLimit.HORIZONTAL), VERTICAL(EnumDirectionLimit.VERTICAL); - private final EnumDirection.EnumDirectionLimit list; + private final EnumDirectionLimit list; - EnumDirectionList(EnumDirection.EnumDirectionLimit list) { + EnumDirectionList(EnumDirectionLimit list) { this.list = list; }