Try and handle removal of mods a bit better. Currently no way to allow a world which has missing

blocks to load - but i have the code in place to allow it i think.
This commit is contained in:
Christian committed 2014-02-08 12:18:34 -05:00
1 parent 064b66af3d
commit c890206268
14 files changed
+204 -70

No files matched your search

@@ -39,6 +39,7 @@ import com.google.common.collect.Lists;
import com.google.common.collect.MapMaker;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import cpw.mods.fml.common.event.FMLMissingMappingsEvent;
import cpw.mods.fml.common.eventhandler.EventBus;
import cpw.mods.fml.common.gameevent.InputEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
@@ -503,4 +504,9 @@ public class FMLCommonHandler
{
sidedDelegate.fireNetRegistrationEvent(bus(), manager, channelSet, channel, side);
}
public FMLMissingMappingsEvent.Action getDefaultMissingAction()
{
return sidedDelegate.getDefaultMissingAction();
}
}