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:
Christian committed 2012-09-03 11:37:17 -04:00
1 parent 3d7a665987
commit 5aed6d995d
8 files changed
+66 -18

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ public abstract class BaseMod implements cpw.mods.fml.common.modloader.BaseModPr
* @return
*/
@Override
public int dispenseEntity(World world, ItemStack item, Random rnd, double x, double y, double z, int xVel, int zVel, double entX, double entY, double entZ)
public int dispenseEntity(World world, ItemStack item, Random rnd, int x, int y, int z, int xVel, int zVel, double entX, double entY, double entZ)
{
return -1;
}