Skip to content

Commit

Permalink
Fix return conditions and minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiveminusmint committed May 26, 2024
1 parent 818de46 commit e0f7de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ private Boolean statusCommand(CommandSender commandSender) {
siege.getName()));
message.append(SiegeUtils.formatMinutes(timeLeft));
commandSender.sendMessage(message.toString());
return true;
}
long timeLeft = siege.getConfig().getDuration() - timePassed.getSeconds();
Craft siegeCraft = CraftManager.getInstance().getCraftByPlayer(siege.getPlayer().getPlayer());
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/localisation/mcwlang_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Siege\ -\ Day\ of\ Week=Day of week\:
Siege\ -\ Start\ Time=Start time\:
Siege\ -\ End\ Time=End time\:
Siege\ -\ Duration=Duration\:
Siege\ -\ Sudden\ Death\ Duration=Sudden Death Duration\:
Siege\ -\ Sudden\ Death\ Duration=Sudden Death Duration\:
Siege\ -\ Flagship\ In\ Box=The Siege of %s is under way. The Siege Flagship is a(n) %s of size %d under the command of %s at %d, %d, %d. Siege will end
Siege\ -\ Flagship\ Not\ In\ Box=The Siege of %s is under way. The Siege Leader, %s, is not in command of a Flagship within the Siege Region\! If they are still not when the duration expires, the siege will fail\! Siege will end in
Siege\ -\ Siege\ Success=The Siege of %s has succeeded\! The forces of %s have been victorious\!
Expand Down

0 comments on commit e0f7de2

Please sign in to comment.