Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Changes -> Some in-game message changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfacheSache committed Aug 28, 2023
1 parent 1189d71 commit 1af8b13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void run() {
instance.sendMessage(player, localization.get(locale, "plugin.restart-required.message", result.getCurrentVersion(), result.getLatestVersion()));
}

if (!instance.getCore().isSetup() && instance.getCore().getPlayerInSetup().isEmpty()) {
if (!instance.getCore().isSetup()) {
instance.sendMessage(player, localization.get(locale, "setup.required.first"));
instance.sendMessage(player, localization.get(locale, "setup.required.second"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void onLogin(PlayerJoinEvent event) {
instance.sendMessage(player, localization.get(locale, "plugin.restart-required.message", result.getCurrentVersion(), result.getLatestVersion()));
}

if (!instance.getCore().isSetup() && instance.getCore().getPlayerInSetup().isEmpty()) {
if (!instance.getCore().isSetup()) {
instance.sendMessage(player, localization.get(locale, "setup.required.first"));
instance.sendMessage(player, localization.get(locale, "setup.required.second"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void run() {
instance.sendMessage(player, localization.get(locale, "plugin.restart-required.message", result.getCurrentVersion(), result.getLatestVersion()));
}

if (!instance.getCore().isSetup() && instance.getCore().getPlayerInSetup().isEmpty()) {
if (!instance.getCore().isSetup()) {
instance.sendMessage(player, localization.get(locale, "setup.required.first"));
instance.sendMessage(player, localization.get(locale, "setup.required.second"));
}
Expand Down

0 comments on commit 1af8b13

Please sign in to comment.