Open GlamrockFreddy14 opened 1 year ago
He there I found your prblem! "singleplayer": { "text" : "Play Game", "posX" : -80, "posY" : 25, "width" : 170, "height" : 20, "action" : { "type" : "openGui", "gui" : "singleplayer" }, "hoverSound" : "menu:hover", "pressSound" : "menu:click" },
This would be the correct code for the singleplayer button. The Problem was that you had the hover and press sounds in bracets {}, you also didnt do a coma , after the hover sound and no coma , after the action bracet. I tryed your fixed code, it should work. If not dm me on Discord: Captin500#9774. I hope i helped you!
Here is the json file fixed mainmenu.txt
Here is the json file fixed mainmenu.txt
It's registering the command but the audio isn't playing
I'm following a tutorial on how to add a sound when I hover or click and button but keep getting a error when trying to refresh
the tutorial https://www.youtube.com/watch?v=-qUEBXbalH8&list=PLCiSf5_kaFvrVmnjMV2tMw3KtUhzknFEi&index=7
the main menu json file mainmenu.txt
the sounds json sounds.txt
the error log latest.log