Error when executing Vanilla Commands with Command Signs #185


  • New
Open
  • bbayu created this issue Jan 31, 2018

    CraftBukkit Version: Spigot 1.12.2-R0.1-SNAPSHOT

    Vault Version: 1.6.6

     

    Nature of the problem:

    /particle does not work with CommandSigns, Error message shown below

    [20:40:32 ERROR]: Could not pass event BlockRedstoneEvent to CommandSigns v1.9.3.3
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockRedstoneWire.a(BlockRedstoneWire.java:176) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockRedstoneWire.e(BlockRedstoneWire.java:111) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockRedstoneWire.a(BlockRedstoneWire.java:303) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockStateList$BlockData.doPhysics(SourceFile:418) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.World.a(World.java:575) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockObserver.e(SourceFile:79) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.BlockObserver.b(SourceFile:50) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.WorldServer.a(WorldServer.java:770) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:309) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:801) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
    Caused by: org.bukkit.command.CommandException: Unhandled exception executing 'particle dripWater -256 69.9 -563 0.2 0 0.5 0 10' in org.bukkit.craftbukkit.v1_12_R1.command.VanillaCommandWrapper(particle)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.zonedabone.commandsigns.handler.CommandHandler.handle(CommandHandler.java:96) ~[?:?]
            at org.zonedabone.commandsigns.SignExecutor.runLines(SignExecutor.java:238) ~[?:?]
            at org.zonedabone.commandsigns.listener.EventListener.handleRedstone(EventListener.java:33) ~[?:?]
            at org.zonedabone.commandsigns.listener.EventListener.onRedstoneChange(EventListener.java:85) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            ... 17 more
    Caused by: java.lang.IllegalArgumentException: Cannot make org.zonedabone.commandsigns.proxy.CommandSenderProxy@21206557 a vanilla command listener
            at org.bukkit.craftbukkit.v1_12_R1.command.VanillaCommandWrapper.getListener(VanillaCommandWrapper.java:164) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.craftbukkit.v1_12_R1.command.VanillaCommandWrapper.execute(VanillaCommandWrapper.java:36) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            at org.zonedabone.commandsigns.handler.CommandHandler.handle(CommandHandler.java:96) ~[?:?]
            at org.zonedabone.commandsigns.SignExecutor.runLines(SignExecutor.java:238) ~[?:?]
            at org.zonedabone.commandsigns.listener.EventListener.handleRedstone(EventListener.java:33) ~[?:?]
            at org.zonedabone.commandsigns.listener.EventListener.onRedstoneChange(EventListener.java:85) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-9b8bba4-bdcc7c7]
            ... 17 more

     

     

    Steps to reproduce the problem:

    1. Make a sign with CommandSign line 1 as /particle [...]
    2. Make it active with redstone and then power it
    3. Check the console
  • bbayu added a tag New Jan 31, 2018

To post a comment, please login or register a new account.