From d1c3ee3daf33890b9c2ca7fefc4f0295f803d79a Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Tue, 25 Jun 2024 14:07:35 +0200 Subject: [PATCH] Register SpawnEntityPacket on Fabric server --- .../java/dev/architectury/init/fabric/ArchitecturyServer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fabric/src/main/java/dev/architectury/init/fabric/ArchitecturyServer.java b/fabric/src/main/java/dev/architectury/init/fabric/ArchitecturyServer.java index dcd0b0742..5c376fdf7 100644 --- a/fabric/src/main/java/dev/architectury/init/fabric/ArchitecturyServer.java +++ b/fabric/src/main/java/dev/architectury/init/fabric/ArchitecturyServer.java @@ -20,9 +20,12 @@ package dev.architectury.init.fabric; import dev.architectury.event.events.common.LifecycleEvent; +import dev.architectury.networking.SpawnEntityPacket; public class ArchitecturyServer { public static void init() { LifecycleEvent.SETUP.invoker().run(); + + SpawnEntityPacket.register(); } }