itemcost name not match error !! #200


  • Invalid
  • Fixed
Open
  • P1uT0LIVE created this issue Apr 1, 2020

    Book is not setname. This plugin will show an error but will setname book. Any of this plugin works normally.

     

    test123:
    command: /test123
    type: RUN_COMMAND
    runcmd:
    - "$text$&9INFO> &aTEST"
    itemcost: "PAPER:1:&aTEST"

     

    [02:48:57] [Server thread/ERROR]: null[02:48:57] [Server thread/ERROR]: nullorg.bukkit.command.CommandException: Unhandled exception executing command 'test123' in plugin MyCommand v5.6.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1492) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1297) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_231] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_231] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]Caused by: java.lang.NullPointerException at it.mri.mycommand.execute.CheckCommandCost.CheckItemCost(CheckCommandCost.java:126) ~[?:?] at it.mri.mycommand.execute.DispatchCommands.ExecuteMyCommandCommands(DispatchCommands.java:251) ~[?:?] at it.mri.mycommand.commands.CmdCustomCommands.onCommand(CmdCustomCommands.java:131) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Paper-1.12.2-b1618.jar:git-Paper-1618] ... 15 more

  • P1uT0LIVE added the tags Fixed Invalid Apr 1, 2020

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