CraftBook 3

CraftBook 3

139k Downloads

EventException / NumberFormatException: empty String with BounceBlock mechanic.

LadyCailinBot opened this issue ยท 1 comments

commented

CRAFTBOOK-3265 - Reported by mibby

CraftBook dev 123
Paper dev 1059 (Spigot 1.11.2)

Using the BounceBlock mechanic, this error spams if you do not put a number on the 3rd line of the sign.

    BounceBlocks:
        blocks:
        - SPONGE
        sensitivity: 0.1
        auto-blocks: {}
[20:35:42] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to CraftBook v3.9-SNAPSHOT-jenkins-CraftBook-123
org.bukkit.event.EventException
	at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:46) ~[patched_1.11.2.jar:git-Paper-1059]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.11.2.jar:git-Paper-1059]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.11.2.jar:git-Paper-1059]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) ~[patched_1.11.2.jar:git-Paper-1059]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) ~[patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:617) ~[patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.PacketPlayInFlying.a(SourceFile:126) ~[patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) ~[patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.11.2.jar:git-Paper-1059]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
	at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:830) [patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:754) [patched_1.11.2.jar:git-Paper-1059]
	at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:652) [patched_1.11.2.jar:git-Paper-1059]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.NumberFormatException: empty String
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842) ~[?:1.8.0_121]
	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) ~[?:1.8.0_121]
	at java.lang.Double.parseDouble(Double.java:538) ~[?:1.8.0_121]
	at com.sk89q.craftbook.mechanics.BounceBlocks.onPlayerMove(BounceBlocks.java:100) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor638.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44) ~[patched_1.11.2.jar:git-Paper-1059]
	... 16 more
commented

Comment by me4502

Should be fixed in next build.