mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-16 18:55:02 +00:00
Code cleanup
This commit is contained in:
1 parent
3990a81390
commit
39e415b36d
5 files changed
+106
-47
No files matched your search
@@ -88,7 +88,7 @@ public class InputHelper {
|
||||
}
|
||||
}
|
||||
|
||||
public static String getArrayDescription(List objects) {
|
||||
public static String getArrayDescription(List<?> objects) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
if(objects.isEmpty()) {
|
||||
@@ -209,7 +209,8 @@ public class InputHelper {
|
||||
}
|
||||
}
|
||||
|
||||
public static Object[] toShapedObjects(IIngredient[][] ingredients) {
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
public static Object[] toShapedObjects(IIngredient[][] ingredients) {
|
||||
if (ingredients == null)
|
||||
return null;
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user