Skip to content

Commit

Permalink
Remove useless FriendlyByteBuf constructor from CloseInstrumentPacket
Browse files Browse the repository at this point in the history
  • Loading branch information
StavWasPlayZ committed Sep 9, 2024
1 parent 04c9478 commit 3273b38
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.cstav.genshinstrument.networking.IModPacket;
import com.cstav.genshinstrument.networking.packet.instrument.util.InstrumentPacketUtil;
import net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking.Context;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.network.RegistryFriendlyByteBuf;
import net.minecraft.network.codec.StreamCodec;

Expand All @@ -18,7 +17,6 @@ public class CloseInstrumentPacket extends IModPacket {
public static final StreamCodec<RegistryFriendlyByteBuf, CloseInstrumentPacket> CODEC = StreamCodec.unit(INSTANCE);

private CloseInstrumentPacket() {}
public CloseInstrumentPacket(FriendlyByteBuf buf) {}

@Override
public void handleServer(Context context) {
Expand Down

0 comments on commit 3273b38

Please sign in to comment.