From d8d4e1398d3d05fc6d8c0bea6998b462b0a2a12f Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Sat, 20 Jul 2024 02:21:54 +0200 Subject: [PATCH] Register SpawnEntityPacket on Fabric server (#526) --- .../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(); } }