Daniel12321 / NPCs

MIT License
18 stars 13 forks source link

Error interacting with NPC and commands #11

Closed Sir-Will closed 7 years ago

Sir-Will commented 7 years ago

hey, I'm getting the error below if I interact with the NPC and have set the command /spawn other and /kit give from neucleus.

It somehow only runs the spawn command but not the kit command. If I remove the spawn command it will run the kit command without an issues.

[00:14:54] [Server thread/ERROR] [Sponge/]: /**************************************************************************************************************************************/
[00:14:54] [Server thread/ERROR] [Sponge/]: /*                                                      Exception Exiting Phase                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /**************************************************************************************************************************************/
[00:14:54] [Server thread/ERROR] [Sponge/]: /* Something happened when trying to unwind org.spongepowered.common.event.tracking.phase.packet.InteractAtEntityPacketState@4cd71ea4 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* PhaseContext :                                                                                                                     */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*   Affected World : WorldServer{LevelName=dungeon, DimensionId=0, DimensionType=minecraft:overworld}                                */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Source                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: PacketPlayer                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Packet                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: net.minecraft.network.play.client.CPacketUseEntity@7d88a34d                                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Cursor                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: SpongeItemStackSnapshot{itemType=Item{Name=none}, count=1}                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: IgnoringCreative                                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: false                                                                                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: CapturedEntities                                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: CapturedEntitiesSupplier{Captured=0}                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: CapturedBlocks                                                                                                     */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: CapturedBlocksSupplier{Captured=0}                                                                               */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Owner                                                                                                              */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Notifier                                                                                                           */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* Phases remaining :                                                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*   - Phase: org.spongepowered.common.event.tracking.phase.general.PostState@34a60616                                                */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     Context:                                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: UnwindingContext                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Source                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: PacketPlayer                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Packet                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: net.minecraft.network.play.client.CPacketUseEntity@7d88a34d                                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Cursor                                                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: SpongeItemStackSnapshot{itemType=Item{Name=none}, count=1}                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: IgnoringCreative                                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: false                                                                                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: CapturedEntities                                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: CapturedEntitiesSupplier{Captured=0}                                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: CapturedBlocks                                                                                                     */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: CapturedBlocksSupplier{Captured=0}                                                                               */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Owner                                                                                                              */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*         - Name: Notifier                                                                                                           */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*           Object: EntityPlayerMP['SirWill'/279, l='world', x=251.50, y=69.00, z=256.50]                                            */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: UnwindingState                                                                                                         */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object:                                                                                                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       org.spongepowered.common.event.tracking.phase.packet.InteractAtEntityPacketState@4cd71ea4                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: CapturedBlocks                                                                                                         */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object: CapturedBlocksSupplier{Captured=0}                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: CapturedEntities                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object: CapturedEntitiesSupplier{Captured=0}                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*   - Phase: org.spongepowered.common.event.tracking.phase.plugin.ScheduledTaskPhaseState@5e9789fc                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     Context:                                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: Source                                                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object: com.google.common.util.concurrent.ListenableFutureTask@4e56e7fe                                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: CapturedBlocks                                                                                                         */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object: CapturedBlocksSupplier{Captured=0}                                                                                   */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     - Name: CapturedEntities                                                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*       Object: CapturedEntitiesSupplier{Captured=0}                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* Stacktrace:                                                                                                                        */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* java.lang.IllegalArgumentException: Not a mixin Entity for this implementation!                                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.entity.EntityUtil.toMixin(EntityUtil.java:763)                                                        */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.event.tracking.phase.packet.PacketFunction.lambda$static$17(PacketFunction.java:119)                  */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.event.tracking.phase.packet.PacketPhase.unwind(PacketPhase.java:322)                                  */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:220)                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.event.tracking.CauseTracker.switchToPhase(CauseTracker.java:162)                                      */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:157)                                               */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zjf000(SourceFile:539)                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)                                                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)                                                        */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     java.util.concurrent.FutureTask.run(FutureTask.java:266)                                                                       */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.util.Util.func_181617_a(SourceFile:45)                                                                           */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:235)                                               */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.server.MinecraftServer.redirect$onRun$zhm000(MinecraftServer.java:3931)                                          */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)                                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)                                          */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)                                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)                                                             */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*     java.lang.Thread.run(Thread.java:745)                                                                                          */
[00:14:54] [Server thread/ERROR] [Sponge/]: /*                                                                                                                                    */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* Minecraft : 1.10.2                                                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* SpongeAPI : 5.2.0-SNAPSHOT-a3257a0                                                                                                 */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* SpongeForge : 1.10.2-2254-5.2.0-BETA-2236                                                                                          */
[00:14:54] [Server thread/ERROR] [Sponge/]: /* Minecraft Forge : 12.18.3.2254                                                                                                     */
[00:14:54] [Server thread/ERROR] [Sponge/]: /**************************************************************************************************************************************/
Daniel12321 commented 7 years ago

No matter what i try, i cant find any way to reproduce this error.

Sir-Will commented 7 years ago

Just tried to use /give instead of the kit command and it seems to only run one command and not both. Is this intended or a bug?

Daniel12321 commented 7 years ago

That is intended. An option to run multiple commands at the same time will come in the next update.

Sir-Will commented 7 years ago

Oh ok, closing this then for now.