Import cleanup.

This commit is contained in:
Florian Nücke 2014-06-04 22:53:10 +02:00
parent 55b5041149
commit fdf0f8f2bc

View File

@ -10,7 +10,6 @@ import li.cil.oc.util.mods.{Mods, StargateTech2}
import net.minecraft.nbt.NBTTagCompound
import stargatetech2.api.bus.{IBusInterface, IBusDevice}
import stargatetech2.api.StargateTechAPI
import li.cil.oc.server.component.AbstractBus
// IMPORTANT: for some reason that is beyond me we cannot implement the
// IBusDevice here directly, since we'll get an error if the interface is not
@ -33,7 +32,7 @@ trait AbstractBusAware extends TileEntity with network.Environment {
if (isAbstractBusAvailable) {
if (isServer) {
installedComponents.collect {
case abstractBus: AbstractBus => abstractBus.busInterface
case abstractBus: component.AbstractBus => abstractBus.busInterface
}.toArray
}
else fakeInterface.map(_.asInstanceOf[IBusInterface])