Skip to content

Commit

Permalink
Bugfix embedded broadcast single mode
Browse files Browse the repository at this point in the history
  • Loading branch information
isuretpolos committed Jun 17, 2023
1 parent 884d934 commit 0c56945
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ public synchronized void broadcastNow() {
try {
seconds = Integer.parseInt(((Textfield) p.getGuiElements().getCp5().get(AetherOneConstants.SECONDS)).getText());

if (settings.getBoolean(SettingsScreen.BROADCAST_DELTA_TIME, false)) {
if (settings.getBoolean(SettingsScreen.BROADCAST_DELTA_TIME, false) && p.getGeneralVitality() < seconds) {
seconds -= p.getGeneralVitality();
}
} catch (Exception e) {
Expand Down

0 comments on commit 0c56945

Please sign in to comment.