disallow play pause buttons lol

This commit is contained in:
ayunami2000 2022-04-18 11:29:25 -04:00
parent 25c61eb4a1
commit d76407b836
2 changed files with 7 additions and 2 deletions

View File

@ -109,3 +109,10 @@ window.volmusic=function(v){
window.playingmusic=function(){
return usealt==2||aud.playing||loading;
};
navigator.mediaSession.setActionHandler('play', function() {});
navigator.mediaSession.setActionHandler('pause', function() {});
navigator.mediaSession.setActionHandler('seekbackward', function() {});
navigator.mediaSession.setActionHandler('seekforward', function() {});
navigator.mediaSession.setActionHandler('previoustrack', function() {});
navigator.mediaSession.setActionHandler('nexttrack', function() {});

View File

@ -5,8 +5,6 @@ import net.lax1dude.eaglercraft.EaglerAdapter;
import net.lax1dude.eaglercraft.LocalStorageManager;
import net.minecraft.client.Minecraft;
import java.util.Arrays;
public class GameSettings {
public static boolean useDefaultProtocol = false;
public static boolean useProxy = false;