Fix Cutting Fluid returning null when it empties (#1082)
This commit is contained in:
parent
3a707df23c
commit
52861ef7c2
|
@ -135,7 +135,7 @@ public class ItemCuttingFluid extends Item implements IVariantProvider, ICustomA
|
||||||
applyDamageToFluid(stack);
|
applyDamageToFluid(stack);
|
||||||
if (getDamageOfFluid(stack) >= getMaxUsesForFluid(stack))
|
if (getDamageOfFluid(stack) >= getMaxUsesForFluid(stack))
|
||||||
{
|
{
|
||||||
return null;
|
return ItemStack.EMPTY;
|
||||||
}
|
}
|
||||||
|
|
||||||
return stack;
|
return stack;
|
||||||
|
|
Loading…
Reference in a new issue