mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 03:05:30 -04:00
parent
5800590995
commit
6ec65509e0
@ -48,8 +48,8 @@ public final class DriverPeripheral implements li.cil.oc.api.driver.Block {
|
||||
|
||||
private IPeripheral findPeripheral(final World world, final int x, final int y, final int z) {
|
||||
try {
|
||||
IPeripheral p = dan200.computercraft.ComputerCraft.getPeripheralAt(world, x, y, z, -1);
|
||||
if(!isBlacklisted(p)) {
|
||||
final IPeripheral p = dan200.computercraft.ComputerCraft.getPeripheralAt(world, x, y, z, -1);
|
||||
if (!isBlacklisted(p)) {
|
||||
return p;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user