mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
minor cleanup
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user