Fix on_player_command firing on the wrong thread
This commit is contained in:
1 parent
47f5bdf318
commit
2a958920e2
1 file changed
+1
-1
@@ -280,7 +280,7 @@ public class ServerGamePacketListenerImpl_scarpetEventsMixin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "handleChatCommand(Lnet/minecraft/network/protocol/game/ServerboundChatCommandPacket;)V",
|
@Inject(method = "method_44356", // lambda of handleChatCommand(ServerboundChatCommandPacket)
|
||||||
at = @At(value = "HEAD")
|
at = @At(value = "HEAD")
|
||||||
)
|
)
|
||||||
private void onChatCommandMessage(ServerboundChatCommandPacket serverboundChatCommandPacket, CallbackInfo ci) {
|
private void onChatCommandMessage(ServerboundChatCommandPacket serverboundChatCommandPacket, CallbackInfo ci) {
|
||||||
|
|||||||
Reference in new issue
Block a user