mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Empty the cup
This commit is contained in:
parent
3b180faf60
commit
c2b2cc4d17
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ public class ItemCoffee extends ItemBase {
|
|||
applyPotionEffectsFromStack(stack, livingEntity);
|
||||
theStack.setDamageValue(theStack.getDamageValue() + 1);
|
||||
if (theStack.getMaxDamage() - theStack.getDamageValue() < 0) {
|
||||
return new ItemStack(ActuallyItems.COFFEE_CUP.get());
|
||||
return new ItemStack(ActuallyItems.EMPTY_CUP.get());
|
||||
} else {
|
||||
return theStack;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue