mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Fix the coffee effect displaying wrong due to setting the ticksPerSecond to 20 instead of 1
This commit is contained in:
parent
56402e46eb
commit
d4cc7b0737
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class ItemCoffee extends ItemBase {
|
|||
if (effects != null) {
|
||||
for (MobEffectInstance effect : effects) {
|
||||
tooltip.add(Component.translatable(effect.getDescriptionId())
|
||||
.append(" " + (effect.getAmplifier() + 1) + ", " + StringUtil.formatTickDuration(effect.getDuration(), 20))
|
||||
.append(" " + (effect.getAmplifier() + 1) + ", " + StringUtil.formatTickDuration(effect.getDuration(), 1))
|
||||
.withStyle(ChatFormatting.GRAY));
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue