-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the bug
The sound in 1.21.4 seems to have changed and needs to be fixed.
When using uppercase letters, an error will be triggered, for example, 'BLOCK_AMETHYST_BLOCK_HIT'.
net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: minecraft:BLOCK_AMETHYST_BLOCK_HIT
Using lowercase will not cause any issues. "block_amethyst_block_hit"
To Reproduce
Steps to reproduce the behavior:
On the 1.21.4 server, using CitizensCMD to add sound operations for NPCs, and then interacting with them, the sound will not be played, and an error will occur.
Expected behavior
Both uppercase and lowercase should work properly for playing the sound without any error messages, at least when running version 1.21.1.
Screenshots
null
Versions (please complete the following information):
- Citizens#3703
- CitizensCMD 2.7.2
- Java 21
Additional context
null