Skip to content

Commit

Permalink
fixed that providerClass is null (CloudburstMC#1884)
Browse files Browse the repository at this point in the history
(cherry picked from commit c29dbf4)
  • Loading branch information
EinBexiii authored and wode490390 committed Dec 5, 2021
1 parent f941318 commit 02a46fb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ public LevelProvider getProvider() {
@Override
public void setProvider(LevelProvider provider) {
this.provider = provider;

if(provider != null) {
this.providerClass = provider.getClass();
}
}

@Override
Expand Down

0 comments on commit 02a46fb

Please sign in to comment.