Skip to content

Commit

Permalink
Merge branch '0.5' into 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Feb 13, 2024
2 parents b38d84f + 459c9cc commit cf00fca
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
public class FabricProxy extends PlatformProxy {

private static final boolean HAS_FABRIC_API = FabricLoader.getInstance().isModLoaded("fabric-networking-api-v1");
private static final boolean HAS_QUILT_STD = FabricLoader.getInstance().isModLoaded("quilt_networking");

@Override
public boolean canSendVanillaRegisterPackets() {
return !HAS_QUILT_STD;
}

@Override
public Packet<?> createVanillaRegisterConfigS2CPacket(FriendlyByteBuf buf) {
Expand Down

0 comments on commit cf00fca

Please sign in to comment.