disallow play pause buttons lol
This commit is contained in:
parent
25c61eb4a1
commit
d76407b836
|
@ -109,3 +109,10 @@ window.volmusic=function(v){
|
||||||
window.playingmusic=function(){
|
window.playingmusic=function(){
|
||||||
return usealt==2||aud.playing||loading;
|
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() {});
|
||||||
|
|
|
@ -5,8 +5,6 @@ import net.lax1dude.eaglercraft.EaglerAdapter;
|
||||||
import net.lax1dude.eaglercraft.LocalStorageManager;
|
import net.lax1dude.eaglercraft.LocalStorageManager;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
|
|
||||||
public class GameSettings {
|
public class GameSettings {
|
||||||
public static boolean useDefaultProtocol = false;
|
public static boolean useDefaultProtocol = false;
|
||||||
public static boolean useProxy = false;
|
public static boolean useProxy = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user