mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-24 05:54:32 +00:00
Demote crash to warning on bad Shaped/Shapless recipes and add a more informative error message.
This commit is contained in:
1 parent
277c8b5cc0
commit
922ec6b1cb
4 files changed
+18
-15
No files matched your search
@@ -341,7 +341,7 @@ public class NEIServerUtils
|
||||
if (obj instanceof List)
|
||||
return ((List<ItemStack>) obj).toArray(new ItemStack[0]);
|
||||
|
||||
throw new ClassCastException("not an ItemStack, ItemStack[] or List<ItemStack?");
|
||||
throw new ClassCastException(obj+" not an ItemStack, ItemStack[] or List<ItemStack?");
|
||||
}
|
||||
|
||||
public static List<Integer> getRange(final int start, final int end) {
|
||||
|
||||
Reference in new issue
Block a user