Fix inability to define own sounds

This commit is contained in:
libraryaddict
2020-11-20 14:14:42 +13:00
parent 8aef2bffc0
commit 2d14fb90b8
3 changed files with 35 additions and 29 deletions

View File

@@ -1338,6 +1338,7 @@ public class ReflectionManager {
return null;
}
@Deprecated
public static Object createSoundEffect(String minecraftKey) {
try {
return getNmsConstructor("SoundEffect", getNmsClass("MinecraftKey"))