minor cleanup

This commit is contained in:
mezz committed 2015-11-19 16:42:30 -08:00
1 parent 67a7185261
commit 31231db459
3 files changed
+3 -7

No files matched your search

@@ -53,7 +53,7 @@ public class CircuitFarmLogic extends Circuit {
IFarmLogic logic;
try {
logic = logicClass.getConstructor(new Class[]{IFarmHousing.class}).newInstance(housing);
logic = logicClass.getConstructor(IFarmHousing.class).newInstance(housing);
} catch (Exception ex) {
throw new RuntimeException("Failed to instantiate logic of class " + logicClass.getName() + ": " + ex.getMessage());
}