Fix license
This commit is contained in:
parent
aa18079315
commit
342917851b
29 changed files with 600 additions and 16 deletions
|
@ -67,18 +67,6 @@ public class LampBlockEntity extends PowerAcceptorBlockEntity implements IToolDr
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// @Override
|
||||
// public boolean canAcceptEnergy(final Direction direction) {
|
||||
// if (world == null) {
|
||||
// // Blame tooltip for this
|
||||
// return true;
|
||||
// }
|
||||
// Direction me = LampBlock.getFacing(world.getBlockState(pos)).getOpposite();
|
||||
// return direction == me;
|
||||
// }
|
||||
|
||||
@Override
|
||||
protected boolean canAcceptEnergy(EnergySide side) {
|
||||
return side == EnergySide.UNKNOWN || getFacing().getOpposite() != Direction.values()[side.ordinal()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue