From e92a1b62a4b813c7f7949bff95bb3fbc0424bd21 Mon Sep 17 00:00:00 2001 From: bot Date: Mon, 22 Apr 2024 20:43:51 +0200 Subject: [PATCH] fix other packages overwriting the server package --- .../java/com/gtnewhorizon/structurelib/StructureLib.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gtnewhorizon/structurelib/StructureLib.java b/src/main/java/com/gtnewhorizon/structurelib/StructureLib.java index 7429e454..8fd26f82 100644 --- a/src/main/java/com/gtnewhorizon/structurelib/StructureLib.java +++ b/src/main/java/com/gtnewhorizon/structurelib/StructureLib.java @@ -46,11 +46,11 @@ public class StructureLib { net.registerMessage(AlignmentMessage.ServerHandler.class, AlignmentMessage.AlignmentQuery.class, 0, Side.SERVER); net.registerMessage(AlignmentMessage.ClientHandler.class, AlignmentMessage.AlignmentData.class, 1, Side.CLIENT); - net.registerMessage(UpdateDebugWriterModePacket.class, UpdateDebugWriterModePacket.class, 0, Side.CLIENT); - net.registerMessage(UpdateDebugWriterModePacket.class, UpdateDebugWriterModePacket.class, 0, Side.SERVER); + net.registerMessage(UpdateDebugWriterModePacket.class, UpdateDebugWriterModePacket.class, 2, Side.CLIENT); + net.registerMessage(UpdateDebugWriterModePacket.class, UpdateDebugWriterModePacket.class, 3, Side.SERVER); - net.registerMessage(ScrollConstructablePacket.class, ScrollConstructablePacket.class, 0, Side.CLIENT); - net.registerMessage(ScrollConstructablePacket.class, ScrollConstructablePacket.class, 0, Side.SERVER); + net.registerMessage(ScrollConstructablePacket.class, ScrollConstructablePacket.class, 4, Side.CLIENT); + net.registerMessage(ScrollConstructablePacket.class, ScrollConstructablePacket.class, 5, Side.SERVER); } public static final XSTR RANDOM = new XSTR();