mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-28 16:06:28 +01:00
Invalidate regardless
This commit is contained in:
parent
e9404d6de3
commit
097ecb062e
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue