Skip to content

Commit

Permalink
yeah Fabric is weird
Browse files Browse the repository at this point in the history
  • Loading branch information
YTG1234 committed Dec 12, 2020
1 parent 0ac497d commit b8baf85
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ private static void registerCommands(CommandDispatcher<ServerCommandSource> comm

public static void registerClientSideEvents() {
ClientPlayNetworking.registerGlobalReceiver(ManhuntUtils.SERVER_QUESTION_PACKET_ID, (client, handler, data, sender) -> {
ClientPlayNetworking.send(ManhuntUtils.CLIENT_ANSWER_PACKET_ID, PacketByteBufs.empty());
client.execute(() -> {
ClientPlayNetworking.send(ManhuntUtils.CLIENT_ANSWER_PACKET_ID, PacketByteBufs.empty());
});
});
}
}

0 comments on commit b8baf85

Please sign in to comment.