Invalidate regardless

This commit is contained in:
Jozufozu 2021-11-05 16:47:27 -07:00
parent e9404d6de3
commit 097ecb062e

View file

@ -48,11 +48,7 @@ public class ForgeEvents {
@SubscribeEvent @SubscribeEvent
public static void onUnloadWorld(WorldEvent.Unload event) { public static void onUnloadWorld(WorldEvent.Unload event) {
IWorld world = event.getWorld(); WorldAttached.invalidateWorld(event.getWorld());
if (Backend.isFlywheelWorld(world)) {
WorldAttached.invalidateWorld(world);
}
} }
} }