mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
quick fix : Raw use of parameterized class
This commit is contained in:
1 parent
d0c3b57e22
commit
26b074a50d
11 files changed
+48
-49
No files matched your search
@@ -616,7 +616,7 @@ public class TConstructRegistry {
|
||||
|
||||
LiquidCasting tableCasting() {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Class<?> clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getTableCasting");
|
||||
return (LiquidCasting) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
@@ -631,7 +631,7 @@ public class TConstructRegistry {
|
||||
|
||||
LiquidCasting basinCasting() {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Class<?> clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getBasinCasting");
|
||||
return (LiquidCasting) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
@@ -646,7 +646,7 @@ public class TConstructRegistry {
|
||||
|
||||
Detailing chiselDetailing() {
|
||||
try {
|
||||
Class clazz = Class.forName("tconstruct.TConstruct");
|
||||
Class<?> clazz = Class.forName("tconstruct.TConstruct");
|
||||
Method method = clazz.getMethod("getChiselDetailing");
|
||||
return (Detailing) method.invoke(this);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in new issue
Block a user