Skip to content

Commit

Permalink
Hotfix (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Meaney <[email protected]>
  • Loading branch information
thomasmny authored Apr 21, 2022
1 parent 267d5d0 commit 77e6fd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean isCorrectVisibility(BuildWorld buildWorld, boolean privateWorld)
* @param privateWorld Is world going to be a private world?
*/
public void startWorldNameInput(Player player, WorldType worldType, @Nullable String template, boolean privateWorld) {
if (privateWorld) {
if (privateWorld && getBuildWorld(player.getName()) == null) {
player.closeInventory();
manageWorldType(player, player.getName(), worldType, template, true);
return;
Expand All @@ -175,7 +175,7 @@ public void startWorldNameInput(Player player, WorldType worldType, @Nullable St
}

player.closeInventory();
manageWorldType(player, worldName, worldType, template, false);
manageWorldType(player, worldName, worldType, template, privateWorld);
});
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=com.eintosti
version=2.18.8
version=2.18.9
org.gradle.daemon=true
org.gradle.caching=true
org.gradle.parallel=true
Expand Down

0 comments on commit 77e6fd7

Please sign in to comment.