Skip to content

Commit

Permalink
update for latest GHS
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars committed Feb 22, 2024
1 parent a296750 commit c3d5b06
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<revision>0.89.0</revision>
<revision>0.89.4</revision>
</properties>

<parent>
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/de/champonthis/ghs/server/model/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ public class Settings {
private boolean treasuresLootScenario = true;
@Required
private boolean turnConfirmation = true;
@Required
private boolean unlockEnvelopeBuildings = true;

/**
* Checks if is abilities.
Expand Down Expand Up @@ -1654,4 +1656,22 @@ public void setTurnConfirmation(boolean turnConfirmation) {
this.turnConfirmation = turnConfirmation;
}

/**
* Checks if is unlock envelope buildings.
*
* @return true, if is unlock envelope buildings
*/
public boolean isUnlockEnvelopeBuildings() {
return unlockEnvelopeBuildings;
}

/**
* Sets the unlock envelope buildings.
*
* @param unlockEnvelopeBuildings the new unlock envelope buildings
*/
public void setUnlockEnvelopeBuildings(boolean unlockEnvelopeBuildings) {
this.unlockEnvelopeBuildings = unlockEnvelopeBuildings;
}

}

0 comments on commit c3d5b06

Please sign in to comment.