From b788686126db9171190ed2af857fa320835dc3cc Mon Sep 17 00:00:00 2001 From: Captain Shadows Date: Mon, 8 Jul 2013 00:07:54 -0400 Subject: [PATCH] @InstanceFactory was set to look for Fields instead of methods "fix it" to now match the javadoc :P if it was set like that so modders wouldn't use it, it might be better to just say so in the documentation --- fml/common/cpw/mods/fml/common/Mod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/common/cpw/mods/fml/common/Mod.java b/fml/common/cpw/mods/fml/common/Mod.java index 44b1090486..504e872067 100644 --- a/fml/common/cpw/mods/fml/common/Mod.java +++ b/fml/common/cpw/mods/fml/common/Mod.java @@ -424,7 +424,7 @@ public @interface Mod * */ @Retention(RetentionPolicy.RUNTIME) - @Target(ElementType.FIELD) + @Target(ElementType.METHOD) public @interface InstanceFactory { } }