mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
quick fix : Redundant local variable
This commit is contained in:
1 parent
92418806c1
commit
a2295f380e
16 files changed
+23
-55
No files matched your search
@@ -618,8 +618,7 @@ public class TConstructRegistry {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getTableCasting");
|
||||
LiquidCasting lc = (LiquidCasting) method.invoke(this);
|
||||
return lc;
|
||||
return (LiquidCasting) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
logger.warn("Could not find casting table recipes.");
|
||||
return null;
|
||||
@@ -634,8 +633,7 @@ public class TConstructRegistry {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getBasinCasting");
|
||||
LiquidCasting lc = (LiquidCasting) method.invoke(this);
|
||||
return lc;
|
||||
return (LiquidCasting) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
logger.warn("Could not find casting basin recipes.");
|
||||
return null;
|
||||
@@ -650,8 +648,7 @@ public class TConstructRegistry {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getChiselDetailing");
|
||||
Detailing lc = (Detailing) method.invoke(this);
|
||||
return lc;
|
||||
return (Detailing) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
logger.warn("Could not find chisel detailing recipes.");
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user