Guest User

error when using Laser.java

a guest
Jul 10th, 2021
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org.bukkit.command.CommandException: Unhandled exception executing command 'laserset' in plugin GuardianLaserRewrite v0.1
  2. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  3. at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  4. at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:760) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  5. at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:1944) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  6. at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1783) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  7. at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1764) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  8. at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  9. at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  10. at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  11. at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  12. at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  13. at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  14. at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  15. at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1125) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  16. at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1118) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  17. at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(SourceFile:134) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  18. at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1102) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  19. at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1031) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  20. at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  21. at java.lang.Thread.run(Thread.java:831) [?:?]
  22. Caused by: java.lang.ExceptionInInitializerError
  23. at me.guid118.GuardianLaserRewrite.Laser.<init>(Laser.java:70) ~[?:?]
  24. at me.guid118.GuardianLaserRewrite.Commandlaserset.onCommand(Commandlaserset.java:24) ~[?:?]
  25. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  26. ... 19 more
  27. Caused by: java.lang.NumberFormatException: For input string: "1-SNAPSHOT"
  28. at java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) ~[?:?]
  29. at java.lang.Integer.parseInt(Integer.java:660) ~[?:?]
  30. at java.lang.Integer.parseInt(Integer.java:778) ~[?:?]
  31. at me.guid118.GuardianLaserRewrite.Laser$Packets.<clinit>(Laser.java:311) ~[?:?]
  32. at me.guid118.GuardianLaserRewrite.Laser.<init>(Laser.java:70) ~[?:?]
  33. at me.guid118.GuardianLaserRewrite.Commandlaserset.onCommand(Commandlaserset.java:24) ~[?:?]
  34. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.17.jar:3170-Spigot-a483d2c-ec116f6]
  35. ... 19 more
RAW Paste Data