A during bug for useing curtain's fake player
saw71233 opened this issue ยท 0 comments
Expected Behavior
Can be generated normally.
Actual Behavior
Exception caught during firing event: Payload carryon:sync_scripts may not be sent to the client!
[10:48:43] [Server thread/INFO] [minecraft/PlayerList]: Alex[local] logged in with entity id 3500 at (400.5, 72.0, 262.5)
[10:48:43] [Server thread/ERROR] [ne.ne.bu.EventBus/EVENTBUS]: Exception caught during firing event: Payload carryon:sync_scripts may not be sent to the client!
Index: 0
Listeners:
0: net.neoforged.bus.EventListenerFactory$onDatapackSync/0x00007ffb00ba4c00@58f7cbba
1: net.neoforged.bus.EventListenerFactory$onDpSync/0x00007ffb00bf5800@25ea683b
java.lang.UnsupportedOperationException: Payload carryon:sync_scripts may not be sent to the client!
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.registration.NetworkRegistry.checkPacket(NetworkRegistry.java:445)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:178)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:173)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.PacketDistributor.sendToPlayer(PacketDistributor.java:51)
at TRANSFORMER/[email protected]/tschipp.carryon.platform.NeoForgePlatformHelper.sendPacketToPlayer(NeoForgePlatformHelper.java:108)
at TRANSFORMER/[email protected]/tschipp.carryon.common.scripting.ScriptReloadListener.syncScriptsWithClient(ScriptReloadListener.java:86)
at TRANSFORMER/[email protected]/tschipp.carryon.events.CommonEvents.onDatapackSync(CommonEvents.java:163)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315)
at TRANSFORMER/[email protected]/net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:205)
at TRANSFORMER/[email protected]+build.314/dev.dubhe.curtain.features.player.patches.EntityPlayerMPFake.createFakePlayer(EntityPlayerMPFake.java:71)
at TRANSFORMER/[email protected]+build.314/dev.dubhe.curtain.commands.PlayerCommand.spawn(PlayerCommand.java:293)
at MC-BOOTSTRAP/[email protected]/com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:29)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:8)
at TRANSFORMER/[email protected]/net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:107)
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.executeCommandInContext(Commands.java:363)
at TRANSFORMER/[email protected]/net.minecraft.commands.Commands.performCommand(Commands.java:284)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:1281)
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$7(ServerGamePacketListenerImpl.java:1268)
at TRANSFORMER/[email protected]/net.minecraft.server.TickTask.run(TickTask.java:18)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:872)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:170)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:855)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:849)
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:821)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:826)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:712)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
at java.base/java.lang.Thread.run(Thread.java:1583)
[10:48:43] [Server thread/INFO] [minecraft/MinecraftServer]: Payload carryon:sync_scripts may not be sent to the client!
Steps to Reproduce
- Install Curtain and Carry On
- Use /player alex spawn
Version of Minecraft, Carry On, Forge/Fabric
1.21.1, 2.2.2.11, NeoForge