Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Nov 22, 2020
1 parent 7d24363 commit 1d1bfc9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,10 @@ public static void initClient() {

@Environment(EnvType.CLIENT)
public static void updateClientGlobalPortalCollidingPortal() {
for (ClientWorld world : ClientWorldLoader.getClientWorlds()) {
updateGlobalPortalCollidingPortalForWorld(world);
if (ClientWorldLoader.getIsInitialized()) {
for (ClientWorld world : ClientWorldLoader.getClientWorlds()) {
updateGlobalPortalCollidingPortalForWorld(world);
}
}
}

Expand Down

0 comments on commit 1d1bfc9

Please sign in to comment.