Skip to content

Commit

Permalink
fix TiCon plugin to latest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dshadowwolf committed Aug 13, 2018
1 parent d3c16e6 commit 5bf1363
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.mcmoddev.lib.util.ConfigBase.Options;
import com.mcmoddev.lib.util.Oredicts;
import com.mcmoddev.lib.integration.plugins.TinkersConstructBase;
import com.mcmoddev.lib.integration.plugins.tinkers.events.TinkersExtraMeltingsEvent;

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fluids.FluidRegistry;
Expand All @@ -26,10 +27,17 @@
@MMDPlugin(addonId = NetherMetals.MODID,
pluginId = TinkersConstruct.PLUGIN_MODID,
versions = TinkersConstruct.PLUGIN_MODID + "@[1.12.2-2.7.4.0,);")
public final class TinkersConstruct extends TinkersConstructBase implements IIntegration {
public final class TinkersConstruct implements IIntegration {

public static final String PLUGIN_MODID = TinkersConstructBase.PLUGIN_MODID;

public TinkersConstruct() {
// do nothing
}

@Override
public void init() {
TinkersConstructBase.INSTANCE.init();
if (!Options.isModEnabled(TinkersConstruct.PLUGIN_MODID)) {
return;
}
Expand All @@ -44,7 +52,7 @@ public void init() {
* @param event The Event.
*/
@SubscribeEvent
public void registerExtraMeltings(final IntegrationInitEvent event) {
public void registerMeltings(TinkersExtraMeltingsEvent ev) {
if (registered) {
return;
}
Expand Down

0 comments on commit 5bf1363

Please sign in to comment.