Skip to content

Commit

Permalink
Register SpawnEntityPacket on Fabric server (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx authored Jul 20, 2024
1 parent 26bf197 commit d8d4e13
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit d8d4e13

Please sign in to comment.