mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +01:00
Invalidate regardless
This commit is contained in:
parent
0c94188613
commit
18f5561f9a
@ -48,11 +48,7 @@ public class ForgeEvents {
|
||||
|
||||
@SubscribeEvent
|
||||
public static void onUnloadWorld(WorldEvent.Unload event) {
|
||||
IWorld world = event.getWorld();
|
||||
|
||||
if (Backend.isFlywheelWorld(world)) {
|
||||
WorldAttached.invalidateWorld(world);
|
||||
}
|
||||
WorldAttached.invalidateWorld(event.getWorld());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user