First and final 1.21.3 release

- Moving on to 1.21.4
This commit is contained in:
Martin Prokoph
2024-12-06 20:53:14 +01:00
parent 84df412162
commit ab869f4f76
5 changed files with 10 additions and 5 deletions

View File

@@ -19,7 +19,12 @@ public class NetworkUtilImpl {
handler.send(packet);
}
public static void sendPayloadC2S(CustomPayload payload) {
if (handler != null && client.world != null)
handler.send(new CustomPayloadC2SPacket(payload));
if (handler != null && client.world != null) {
try {
handler.send(new CustomPayloadC2SPacket(payload));
} catch (Exception e) {
e.fillInStackTrace();
}
}
}
}