Split out identifier for devices into separate sub-interface.
It's only needed at bus level so we can wrap at that point.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package li.cil.oc2.api.bus;
|
||||
|
||||
import li.cil.oc2.api.device.Device;
|
||||
import li.cil.oc2.api.device.IdentifiableDevice;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Collection;
|
||||
@@ -48,5 +48,5 @@ public interface DeviceBusElement extends DeviceBus {
|
||||
*
|
||||
* @return the devices that have been added to this element.
|
||||
*/
|
||||
Collection<Device> getLocalDevices();
|
||||
Collection<IdentifiableDevice> getLocalDevices();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user