java.lang.IllegalArgumentException: Health must be between 0 and 20.0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by QIIxGriimZzQ
, 1 year ago
Health must be between 0 and 20.0
via GitHub by Cha0sPudd1ng
, 1 year ago
Health must be between 0 and 23.0
via GitHub by JohOply
, 1 year ago
Health must be between 0 and 2048.0
via GitHub by QIIxGriimZzQ
, 1 year ago
Health must be between 0 and 20.0
via GitHub by arceus69
, 2 years ago
Health must be between 0 and 10.0
java.lang.IllegalArgumentException: Health must be between 0 and 20.0
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:83)
at net.daboross.bukkitdev.skywars.game.KillMessages.setHealth(KillMessages.java:6046)
at net.daboross.bukkitdev.skywars.player.SavedInventory$1.apply(SavedInventory.java:1104)
at net.daboross.bukkitdev.skywars.player.SavedInventory.apply(SavedInventory.java:63)
at net.daboross.bukkitdev.skywars.events.listeners.InventorySaveListener.onPlayerRespawn(InventorySaveListener.java:64)
at net.daboross.bukkitdev.skywars.events.GameEventDistributor.distribute(GameEventDistributor.java:130)
at net.daboross.bukkitdev.skywars.game.GameHandler.respawnPlayer(GameHandler.java:156)
at net.daboross.bukkitdev.skywars.game.GameHandler.removePlayerFromGame(GameHandler.java:107)
at net.daboross.bukkitdev.skywars.commands.mainsubcommands.LeaveCommand.runCommand$7bc4b72f(LeaveCommand.java:45)
at net.daboross.bukkitdev.skywars.libraries.commands.CommandExecutorBase.onCommand(CommandExecutorBase.java:54)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
at me.incomprehendable.dev.pwp.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:98)
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.