Readded cullface to drive model.
Also fixed a debug machine
This commit is contained in:
@@ -65,6 +65,9 @@ public class EnergyGeneratorTileEntity extends AEBaseTileEntity implements ITick
|
||||
|
||||
for (Direction facing : Direction.values()) {
|
||||
final TileEntity te = this.getWorld().getTileEntity(this.getPos().offset(facing));
|
||||
if (te == null) {
|
||||
continue;
|
||||
}
|
||||
final LazyOptional<IEnergyStorage> cap = te.getCapability(CapabilityEnergy.ENERGY, facing.getOpposite());
|
||||
|
||||
cap.ifPresent(consumer -> {
|
||||
|
||||
Reference in New Issue
Block a user