mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
Updated to CraftBukkit 1.9
This commit is contained in:
parent
346036b7e7
commit
7ae87d1dbe
2 changed files with 2 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue