mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 23:25:10 +01:00
First and final 1.21.3 release
- Moving on to 1.21.4
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user