Fixes #304 WAILA Integration updated and fixed

WAILA offers a new interface to sync the server data to the client.
This commit is contained in:
thatsIch
2014-12-19 19:01:51 +01:00
parent 63e375f208
commit c6f232ab63
44 changed files with 1514 additions and 330 deletions
@@ -35,13 +35,13 @@ public class InvTweaks extends BaseModule implements IInvTweaks
static InvTweaksAPI api;
@Override
public void Init()
public void init()
{
api = (InvTweaksAPI) Loader.instance().getIndexedModList().get( "inventorytweaks" ).getMod();
}
@Override
public void PostInit()
public void postInit()
{
if ( api == null )
throw new RuntimeException( "InvTweaks API Instance Failed." );