Fix license

This commit is contained in:
drcrazy 2020-10-21 01:37:31 +03:00
parent aa18079315
commit 342917851b
29 changed files with 600 additions and 16 deletions

View file

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