fixed size thing oops
This commit is contained in:
parent
b8bfa38885
commit
21fdd919b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue