Initial Commit
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
zOnlyKroks 2022-04-01 16:34:02 +02:00
Ursprung 06e923451c
Commit c5020eaef1
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -31,7 +31,8 @@ public class ModSender implements ModInitializer {
private final Logger logger = LogManager.getLogger(); private final Logger logger = LogManager.getLogger();
@Override public void onInitialize() { @Override
public void onInitialize() {
logger.info("Initializing Steamwar System Mod"); logger.info("Initializing Steamwar System Mod");
} }
@ -42,7 +43,7 @@ public class ModSender implements ModInitializer {
ja.add(container.getMetadata().getId()); ja.add(container.getMetadata().getId());
} }
PacketByteBuf packetByteBuf = new PacketByteBuf(Unpooled.buffer()); PacketByteBuf packetByteBuf = new PacketByteBuf(Unpooled.buffer());
packetByteBuf.writeString(String.valueOf(ja)); packetByteBuf.writeString(ja.toString());
CustomPayloadC2SPacket packet = new CustomPayloadC2SPacket(channelIdentifier,packetByteBuf); CustomPayloadC2SPacket packet = new CustomPayloadC2SPacket(channelIdentifier,packetByteBuf);
MinecraftClient.getInstance().getNetworkHandler().sendPacket(packet); MinecraftClient.getInstance().getNetworkHandler().sendPacket(packet);
} }

Datei anzeigen

@ -18,6 +18,6 @@
], ],
"depends": { "depends": {
"fabricloader": ">=0.12.12", "fabricloader": ">=0.12.12",
"minecraft": "1.15.2" "minecraft": ">=1.15.2"
} }
} }