Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The middle mouse button block is kicked #660

Open
FandMC opened this issue Dec 22, 2024 · 11 comments
Open

The middle mouse button block is kicked #660

FandMC opened this issue Dec 22, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@FandMC
Copy link

FandMC commented Dec 22, 2024

General Information

[20:38:46] [Render thread/INFO]: Connecting to fandmc.mcbbs.cyou, 25565
[20:38:49] [Render thread/INFO]: New Xaero hud session initialized!
[20:38:49] [Render thread/INFO]: New world map session initialized!
[20:38:49] [Render thread/INFO]: Reloading pipeline on dimension change: minecraft:overworld => minecraft:overworld
[20:38:49] [Render thread/INFO]: Destroying pipeline minecraft:overworld
[20:38:49] [Render thread/INFO]: Creating pipeline for dimension minecraft:overworld
[20:38:49] [Render thread/INFO]: Started 10 worker threads
[20:38:49] [Render thread/WARN]: Unable to find entity: 'minecraft:boat'
[20:38:49] [Render thread/INFO]: Using 3 total BufferAllocator caches
[20:38:49] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 2730 -> 4189
[20:39:05] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 2730 -> 4189
[20:39:06] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 2730 -> 4189
[20:39:06] [Render thread/WARN]: [REI] Found 1 existing reload task(s) after trying to terminate them!
[20:39:06] [Render thread/INFO]: [System] [CHAT] sb20018qswl加入了游戏
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REICommonPlugin starting main-reload for START.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] Plugins (3):
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (-100.00) DefaultPlugin of DefaultPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) FabricFluidAPISupportPlugin
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) DefaultRuntimePlugin of DefaultRuntimePlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
[20:39:06] [Render thread/INFO]: Loaded 3 advancements
[20:39:06] [Render thread/INFO]: [System] [CHAT] [FandMC] 欢迎回来,已帮你自动登录到此服务器
[20:39:06] [Render thread/INFO]: [System] [CHAT] [FandMC] 已成功登录!
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REIClientPlugin starting main-reload for START.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] Plugins (5):
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (-100.00) DefaultClientPlugin of DefaultClientPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) HideIngredientsFromTagsPlugin of HideIngredientsFromTagsPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) DefaultClientRuntimePlugin of DefaultClientRuntimePlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) REITooltipPlugin of REITooltipPlugin [appleskin]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) ReiRecipeAction of ReiRecipeAction [wthit]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REICommonPlugin finished post-reload for START in 190.1 μs, totaling 2.034 ms.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REIClientPlugin finished post-reload for START in 303.1 μs, totaling 48.08 ms.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ----------------------------------------
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REICommonPlugin starting main-reload for END.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] Plugins (3):
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (-100.00) DefaultPlugin of DefaultPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) FabricFluidAPISupportPlugin
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) DefaultRuntimePlugin of DefaultRuntimePlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ----------------------------------------
[20:39:06] [REI-ReloadPlugins/ERROR]: [REI] Failed to run end-reload task for reloadable [ServerDisplayRegistryImpl] in stage [END]
java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.method_3772()" because the return value of "dev.architectury.utils.GameInstance.getServer()" is null
at knot/me.shedaniel.rei.impl.common.registry.displays.ServerDisplayRegistryImpl.getAllSortedRecipes(ServerDisplayRegistryImpl.java:230) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.registry.displays.ServerDisplayRegistryImpl.fillRecipes(ServerDisplayRegistryImpl.java:216) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.registry.displays.ServerDisplayRegistryImpl.endReload(ServerDisplayRegistryImpl.java:209) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.api.common.registry.Reloadable.endReload(Reloadable.java:47) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.plugins.PluginManagerImpl.reload(PluginManagerImpl.java:464) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.plugins.ReloadManagerImpl.reloadPlugins0(ReloadManagerImpl.java:155) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.plugins.ReloadManagerImpl.reloadPlugins0(ReloadManagerImpl.java:144) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at knot/me.shedaniel.rei.impl.common.plugins.ReloadManagerImpl.lambda$reloadPlugins$7(ReloadManagerImpl.java:122) ~[%5BREI物品管理器%5D%20RoughlyEnoughItems-18.0.796-fabric.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REIClientPlugin starting main-reload for END.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] Plugins (5):
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (-100.00) DefaultClientPlugin of DefaultClientPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) HideIngredientsFromTagsPlugin of HideIngredientsFromTagsPlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) DefaultClientRuntimePlugin of DefaultClientRuntimePlugin [roughlyenoughitems]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) REITooltipPlugin of REITooltipPlugin [appleskin]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] - (0.00) ReiRecipeAction of ReiRecipeAction [wthit]
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REICommonPlugin finished post-reload for END in 739.7 μs, totaling 4.129 ms.
[20:39:06] [REI-ReloadPlugins/INFO]: [REI] REIClientPlugin finished post-reload for END in 786.0 μs, totaling 88.29 ms.
[20:39:06] [Render thread/WARN]: encodeClientData(): encountered [4] sendPayload failures, cancelling any Servux join attempt(s)
[20:39:10] [Render thread/INFO]: Xaero hud session finalized.
[20:39:10] [Render thread/INFO]: Finalizing world map session...
[20:39:10] [Thread-14/INFO]: World map cleaned normally!
[20:39:10] [Render thread/INFO]: World map session finalized.
[20:39:10] [Render thread/INFO]: Stopping worker threads
[20:39:10] [Render thread/WARN]: Client disconnected with reason: You were kicked from lobby: Invalid hotbar selection (Hacking?)
minecraft version 1.21.4

Bug Description

The middle mouse button block on the server has been kicked

Steps to Reproduce

  1. join 1.21.1 server
  2. middle mouse button block

Expected Behavior

I shouldn't have been kicked

@FandMC FandMC added the bug Something isn't working label Dec 22, 2024
@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

01b4c020-6e38-4650-aa03-18947cd9884c
test server fandmc.mcbbs.cyou

@FlorianMichael
Copy link
Member

What ViaFabricPlus version do you use?

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

3.6.1
f9e4c1cd-6228-46e7-a065-6286691724cd

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

控制台log
e2bd3add-db1a-42ff-a496-8bdee53b5313

@FlorianMichael
Copy link
Member

what version did you select in the protocol selection? and do you have any other mods installed?

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

I have selected 1.21.1 from the protocol list
This is my mod list
fa71f154-e422-4672-93d5-e0b2dd99124e
83e008e7-baec-437e-b3a4-f78ce3b09871

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

Invalid hotbar selection in net.minecraft.server.network.ServerGamePacketListenerImpl 999 and 2174, if (!(packet.getSlot() >= 0 && packet.getSlot() < this.player.getInventory().items.size())) {
ServerGamePacketListenerImpl.LOGGER.warn("{} tried to set an invalid carried item", this.player.getName().getString());
this.disconnect(Component.literal("Invalid hotbar selection (Hacking?)"), org.bukkit.event.player.PlayerKickEvent.Cause.ILLEGAL_ACTION); // Paper - kick event cause
return;
}
and else {
ServerGamePacketListenerImpl.LOGGER.warn("{} tried to set an invalid carried item", this.player.getName().getString());
this.disconnect(Component.literal("Invalid hotbar selection (Hacking?)"), org.bukkit.event.player.PlayerKickEvent.Cause.ILLEGAL_ACTION); // CraftBukkit // Paper - kick event cause
}

@FlorianMichael
Copy link
Member

Try if this happens with only ViaFabricPlus installed

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

Still the same, I disabled all mods

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

image
image

@FandMC
Copy link
Author

FandMC commented Dec 22, 2024

[01:09:05] [Render thread/INFO]: Connecting to 127.0.0.1, 25565
[01:09:06] [Render thread/INFO]: [System] [CHAT] sb20018qswl加入了游戏
[01:09:06] [Render thread/INFO]: Loaded 2 advancements
[01:09:13] [Netty Client IO #5/ERROR]: An exception occurred while handling a packet
java.io.IOException: 你的主机中的软件中止了一个已建立的连接。
at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method) ~[?:?]
at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:54) ~[?:?]
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:81) ~[?:?]
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:58) ~[?:?]
at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542) ~[?:?]
at knot/io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:414) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:929) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:359) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:893) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1319) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:974) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:305) ~[netty-transport-4.1.115.Final.jar:?]
at knot/net.minecraft.class_2535.method_36942(class_2535.java:350) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_2535.method_52917(class_2535.java:345) ~[client-intermediary.jar:?]
at knot/io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[netty-common-4.1.115.Final.jar:?]
at knot/io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[netty-common-4.1.115.Final.jar:?]
at knot/io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[netty-common-4.1.115.Final.jar:?]
at knot/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.115.Final.jar:?]
at knot/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.115.Final.jar:?]
at knot/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.115.Final.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
[01:09:14] [Render thread/WARN]: Client disconnected with reason: 连接中断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants