mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 23:13:15 +00:00
Fix compatibility with ModLoader dispenser hook. Fixes a bug with
IDispenseHandler too - though it means that interface is now deprecated
This commit is contained in:
1 parent
3d7a665987
commit
5aed6d995d
8 files changed
+66
-18
No files matched your search
@@ -34,6 +34,7 @@ import net.minecraft.src.TradeEntry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.ICraftingHandler;
|
||||
import cpw.mods.fml.common.IDispenseHandler;
|
||||
import cpw.mods.fml.common.IDispenserHandler;
|
||||
import cpw.mods.fml.common.IFuelHandler;
|
||||
import cpw.mods.fml.common.IPickupNotifier;
|
||||
import cpw.mods.fml.common.IWorldGenerator;
|
||||
@@ -161,7 +162,7 @@ public class ModLoaderHelper
|
||||
return null;
|
||||
}
|
||||
|
||||
public static IDispenseHandler buildDispenseHelper(BaseModProxy mod)
|
||||
public static IDispenserHandler buildDispenseHelper(BaseModProxy mod)
|
||||
{
|
||||
return new ModLoaderDispenseHelper(mod);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user