From 7ae87d1dbe93bd0482e5dcf564fc1397e1fd5144 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Wed, 2 Mar 2016 13:46:42 +1100 Subject: [PATCH] Updated to CraftBukkit 1.9 --- src/main/java/com/lishid/openinv/internal/AnySilentChest.java | 3 --- .../java/com/lishid/openinv/internal/EnumDirectionList.java | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) 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; }