Lots of network cleanup. Gui packets now work too!

This commit is contained in:
Christian committed 2013-12-31 19:55:41 -05:00
1 parent 22ba6fda5e
commit 21b13d6351
5 files changed
+127 -611

No files matched your search

@@ -116,7 +116,14 @@ public class FMLCommonHandler
*/
public ModContainer findContainerFor(Object mod)
{
return Loader.instance().getReversedModObjectList().get(mod);
if (mod instanceof String)
{
return Loader.instance().getIndexedModList().get(mod);
}
else
{
return Loader.instance().getReversedModObjectList().get(mod);
}
}
/**
* Get the forge mod loader logging instance (goes to the forgemodloader log file)