尝试调整文本问题
This commit is contained in:
parent
dba1bcfd6e
commit
0660be688d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class AmmoSupplierItem extends Item {
|
|||
});
|
||||
|
||||
if (!level.isClientSide()) {
|
||||
player.displayClientMessage(Component.translatable("item.superbwarfare.ammo_supplier.supply", Component.translatable(this.type.translatableKey).getString(), ammoToAdd * count), true);
|
||||
player.displayClientMessage(Component.translatable("item.superbwarfare.ammo_supplier.supply", Component.translatable(this.type.translatableKey), ammoToAdd * count), true);
|
||||
level.playSound(null, player.blockPosition(), ModSounds.BULLET_SUPPLY.get(), SoundSource.PLAYERS, 1, 1);
|
||||
}
|
||||
return InteractionResultHolder.consume(stack);
|
||||
|
|
Loading…
Add table
Reference in a new issue