Merge pull request #3014 from timstableford/master

Fix for CC peripherals always throwing error.
This commit is contained in:
Aidan 2015-11-25 10:03:41 -07:00
commit 8e996b0770

View file

@ -40,8 +40,9 @@ public class CCPeripheral implements IPeripheral
return computerTile.invoke(method, arguments);
} catch(NoSuchMethodException e) {
return new Object[] {"Unknown command."};
} finally {
return new Object[] {"Error."};
} catch(Exception e) {
e.printStackTrace();
return new Object[] {"Error."};
}
}