fixed size thing oops

This commit is contained in:
MachineMuse 2013-02-11 00:48:16 -07:00
parent b8bfa38885
commit 21fdd919b8

View file

@ -370,7 +370,7 @@ public class ItemPowerTool extends ItemTool
*/
public void onPlayerStoppedUsing(ItemStack itemStack, World world, EntityPlayer player, int par4)
{
int chargeTicks = Math.min(this.getMaxItemUseDuration(itemStack) - par4, 10);
int chargeTicks = Math.max(this.getMaxItemUseDuration(itemStack) - par4, 10);
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER)
{