mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Big warning for recipe types found without being registered, it turns out this is pretty severe, modders need to fix it.
This commit is contained in:
1 parent
fde90973c3
commit
0b1e94babd
1 file changed
+4
-1
@@ -53,6 +53,9 @@ public class RecipeSorter implements Comparator<IRecipe>
|
||||
{
|
||||
public enum Category
|
||||
{
|
||||
/**
|
||||
* Do not use UNKNOWN - it is for recipe types with no clear driver
|
||||
*/
|
||||
UNKNOWN,
|
||||
SHAPELESS,
|
||||
SHAPED
|
||||
@@ -231,7 +234,7 @@ public class RecipeSorter implements Comparator<IRecipe>
|
||||
{
|
||||
if (!warned.contains(cls))
|
||||
{
|
||||
FMLLog.info(" Unknown recipe class! %s Modder please refer to %s", cls.getName(), RecipeSorter.class.getName());
|
||||
FMLLog.bigWarning("Unknown recipe class! %s Modders need to register their recipe types with %s", cls.getName(), RecipeSorter.class.getName());
|
||||
warned.add(cls);
|
||||
}
|
||||
cls = cls.getSuperclass();
|
||||
|
||||
Reference in new issue
Block a user