Removed unnecessary getFacingEnum method; super does all this stuff already and is more correct (#2502)
This commit is contained in:
parent
f91b57f250
commit
69be970d72
1 changed files with 0 additions and 9 deletions
|
@ -117,15 +117,6 @@ public class LapotronicSUBlockEntity extends EnergyStorageBlockEntity implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Direction getFacingEnum() {
|
|
||||||
Block block = world.getBlockState(pos).getBlock();
|
|
||||||
if (block instanceof LapotronicSUBlock) {
|
|
||||||
return ((LapotronicSUBlock) block).getFacing(world.getBlockState(pos));
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// IContainerProvider
|
// IContainerProvider
|
||||||
@Override
|
@Override
|
||||||
public BuiltScreenHandler createScreenHandler(int syncID, final PlayerEntity player) {
|
public BuiltScreenHandler createScreenHandler(int syncID, final PlayerEntity player) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue