Dense/Cable can be defined more definitively by the Part Framework.
This commit is contained in:
@@ -23,6 +23,7 @@ import appeng.api.config.Upgrades;
|
||||
import appeng.api.implementations.IUpgradeableHost;
|
||||
import appeng.api.networking.IGridNode;
|
||||
import appeng.api.networking.security.IActionHost;
|
||||
import appeng.api.parts.BusSupport;
|
||||
import appeng.api.parts.IPart;
|
||||
import appeng.api.parts.IPartCollsionHelper;
|
||||
import appeng.api.parts.IPartHost;
|
||||
@@ -313,4 +314,10 @@ public class AEBasePart implements IPart, IGridProxyable, IActionHost, IUpgradea
|
||||
return proxy.getNode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canBePlacedOn(BusSupport what)
|
||||
{
|
||||
return what == BusSupport.CABLE;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user