Updated to CraftBukkit 1.9

This commit is contained in:
ShadowRanger 2016-03-02 13:46:42 +11:00
parent 346036b7e7
commit 7ae87d1dbe
2 changed files with 2 additions and 5 deletions

View file

@ -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());
}

View file

@ -11,9 +11,9 @@ public enum EnumDirectionList implements Iterable<EnumDirection> {
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;
}