Music Player

Music Player

3M Downloads

[1.14.4] Crash when skip backwards

HyCraftHD opened this issue ยท 0 comments

commented

Describe the bug
Crash

To Reproduce
Steps to reproduce the behavior:

  1. Press the skip backwards button
  2. Crash

Expected behavior
Should not happen

Screenshots
If applicable, add screenshots to help explain your problem.

Versions

  • Minecraft Version: 1.14.4
  • Forge Version: 28.1.96
  • UTeamCore Version: /
  • Mod Version: /

Log (if crash occures)

java.lang.NullPointerException
	at info.u_team.music_player.musicplayer.MusicPlayerUtils.skipBack(MusicPlayerUtils.java:25)
	at info.u_team.music_player.event.EventHandlerMusicPlayer.handleKeyboard(EventHandlerMusicPlayer.java:68)
	at info.u_team.music_player.event.EventHandlerMusicPlayer.on(EventHandlerMusicPlayer.java:44)
	at net.minecraftforge.eventbus.ASMEventHandler_24_EventHandlerMusicPlayer_on_Post.invoke(.dynamic)
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
	at net.minecraftforge.client.ForgeHooksClient.onGuiKeyPressedPost(ForgeHooksClient.java:971)
	at net.minecraft.client.KeyboardListener.lambda$onKeyEvent$4(KeyboardListener.java:304)
	at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441)
	at net.minecraft.client.KeyboardListener.onKeyEvent(KeyboardListener.java:294)
	at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:37)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
	at net.minecraft.client.MainWindow.poll(MainWindow.java:403)
	at net.minecraft.client.MainWindow.update(MainWindow.java:273)
	at net.minecraft.client.Minecraft.updateDisplay(Minecraft.java:982)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:946)
	at net.minecraft.client.Minecraft.run(Minecraft.java:384)
	at net.minecraft.client.main.Main.main(Main.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101)