We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a945100 commit 5699536Copy full SHA for 5699536
networking-fabric/src/main/java/wtf/choco/network/fabric/RawDataPayload.java
@@ -20,6 +20,11 @@ public final class RawDataPayload implements CustomPacketPayload {
20
21
private static CustomPacketPayload.Type<RawDataPayload> type;
22
23
+ /*
24
+ * NOTE: This doesn't support more than one MessageProtocol definition.
25
+ * VeinMiner only uses one definition. If any one else uses more than one definition, please try to make this better!
26
+ * Probably a Map<NamespacedKey, CustomPacketPayload.Type<RawDataPayload>>? But it would have to pull that key from SOMEWHERE. I don't know...
27
+ */
28
@ApiStatus.Internal
29
static void setType(@NotNull CustomPacketPayload.Type<RawDataPayload> type) {
30
RawDataPayload.type = type;
0 commit comments