你好,帮忙给作者反馈一下bug吧。
创建新任务后,设置任务需求会报错(就是做任务前需要满足的条件),然后设置任务目标后,保存时会报错。另外无法物品奖励的物品设置无法将设置好的东西正确保存到本地,比如原来奖励abc三个东西,我加了一个d,删了abc,保存后,本地文件显示有abcd。这个保存方面看别人评价有很多大问题.
ps 巴哈雷特回复竟然要手机认证,然后他短信发不过来,我短信发过去他不理我。
- <P>[21:58:18] [Server thread/ERROR]: null 这是任务需求报错
- org.bukkit.command.CommandException: Unhandled exception executing command 'mq' in plugin MangoQuest v1.7.8
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1354) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_161]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
- at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
- Caused by: java.lang.NullPointerException
- at me.Cutiemango.MangoQuest.editor.QuestEditorManager.editQuestRequirement(QuestEditorManager.java:415) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.edtior.CommandEditQuest.editRequirements(CommandEditQuest.java:154) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.edtior.CommandEditQuest.execute(CommandEditQuest.java:75) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.QuestEditorCommand.execute(QuestEditorCommand.java:129) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.CommandReceiver.onCommand(CommandReceiver.java:36) ~[?:?]
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- ... 15 more</P>
- <P> </P>
复制代码- [22:00:57] [Server thread/ERROR]: null保存报错
- org.bukkit.command.CommandException: Unhandled exception executing command 'mq' in plugin MangoQuest v1.7.8
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1354) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_161]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
- at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
- Caused by: java.lang.NullPointerException
- at me.Cutiemango.MangoQuest.manager.config.QuestConfigSaver.saveRequirements(QuestConfigSaver.java:124) ~[?:?]
- at me.Cutiemango.MangoQuest.manager.config.QuestConfigSaver.saveQuest(QuestConfigSaver.java:96) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.QuestEditorCommand.execute(QuestEditorCommand.java:82) ~[?:?]
- at me.Cutiemango.MangoQuest.commands.CommandReceiver.onCommand(CommandReceiver.java:36) ~[?:?]
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.11.2-R0.1-SNAPSHOT.jar:git-Spigot-3fb9445-2b6c9f4]
- ... 15 more
复制代码