Dieser Commit ist enthalten in:
Ursprung
06e923451c
Commit
c5020eaef1
@ -31,7 +31,8 @@ public class ModSender implements ModInitializer {
|
||||
|
||||
private final Logger logger = LogManager.getLogger();
|
||||
|
||||
@Override public void onInitialize() {
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
logger.info("Initializing Steamwar System Mod");
|
||||
}
|
||||
|
||||
@ -42,7 +43,7 @@ public class ModSender implements ModInitializer {
|
||||
ja.add(container.getMetadata().getId());
|
||||
}
|
||||
PacketByteBuf packetByteBuf = new PacketByteBuf(Unpooled.buffer());
|
||||
packetByteBuf.writeString(String.valueOf(ja));
|
||||
packetByteBuf.writeString(ja.toString());
|
||||
CustomPayloadC2SPacket packet = new CustomPayloadC2SPacket(channelIdentifier,packetByteBuf);
|
||||
MinecraftClient.getInstance().getNetworkHandler().sendPacket(packet);
|
||||
}
|
||||
|
@ -18,6 +18,6 @@
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.12.12",
|
||||
"minecraft": "1.15.2"
|
||||
"minecraft": ">=1.15.2"
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren