Skip to content

Commit

Permalink
chore: Remove unncessary else if
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Nov 2, 2024
1 parent 7f7989e commit 4f4b149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void handleDisconnect(Component reason, CallbackInfo ci) {
//$$ }
//$$ return original;
//$$ }
//#else if MC>=1.20.5
//#else
//$$ @WrapOperation(
//$$ method = "send",
//$$ at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/network/registration/NetworkRegistry;checkPacket(Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/protocol/common/ClientCommonPacketListener;)V")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private void handleCustomPayload(ServerboundCustomPayloadPacket packet, Callback
//$$ }
//$$ return original;
//$$ }
//#else if MC>=1.20.5
//#else
//$$ @WrapOperation(
//$$ method = "send(Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/PacketSendListener;)V",
//$$ at = @At(value = "INVOKE", target = "Lnet/neoforged/neoforge/network/registration/NetworkRegistry;checkPacket(Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/protocol/common/ServerCommonPacketListener;)V")
Expand Down

0 comments on commit 4f4b149

Please sign in to comment.