mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
Fix CLIENT_WORLD_LOAD on Forge
This commit is contained in:
@@ -118,8 +118,8 @@ public class EventHandlerImplClient {
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public static void event(WorldEvent.Save event) {
|
||||
if (event.getWorld() instanceof ClientLevel) {
|
||||
public static void event(WorldEvent.Load event) {
|
||||
if (event.getWorld().isClientSide()) {
|
||||
ClientLevel world = (ClientLevel) event.getWorld();
|
||||
ClientLifecycleEvent.CLIENT_WORLD_LOAD.invoker().act(world);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user