Removed laser medium OC support

This is a workaround for OC default limit on components per CPU/MB
This commit is contained in:
LemADEC 2016-04-20 18:30:49 +02:00
parent f6087f5320
commit c0fb056d59
2 changed files with 3 additions and 1 deletions

View file

@ -48,6 +48,7 @@ public abstract class TileEntityAbstractInterfaced extends TileEntityAbstractBas
protected volatile List<String> CC_scripts = null;
// OpenComputer specific properties
protected boolean OC_enable = true;
protected Node OC_node = null;
protected boolean OC_addedToNetwork = false;
@ -92,7 +93,7 @@ public abstract class TileEntityAbstractInterfaced extends TileEntityAbstractBas
super.updateEntity();
if (WarpDriveConfig.isOpenComputersLoaded) {
if (!OC_addedToNetwork) {
if (!OC_addedToNetwork && OC_enable) {
OC_addedToNetwork = true;
Network.joinOrCreateNetwork(this);
}

View file

@ -9,6 +9,7 @@ public class TileEntityLaserMedium extends TileEntityAbstractEnergy {
public TileEntityLaserMedium() {
peripheralName = "warpdriveLaserMedium";
OC_enable = false;
}
@Override