Skip to content

Commit

Permalink
Update for breaking TransactionType change post 0.100.3.7. (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
LlmDl authored Jul 12, 2024
1 parent 67247ea commit 9ea4de0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<dependency>
<groupId>com.palmergames.bukkit.towny</groupId>
<artifactId>towny</artifactId>
<version>0.100.0.0</version>
<version>0.100.3.7</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/github/townyadvanced/flagwar/FlagWar.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ public class FlagWar extends JavaPlugin {
/** FlagWar Copyright String. */
private static final String FW_COPYRIGHT = "Copyright \u00a9 2021–2023 TownyAdvanced";
/** Version for storing the minimum required version of Towny, for compatibility. */
private static final Version MIN_TOWNY_VER = Version.fromString("0.100.0.0");
private static final Version MIN_TOWNY_VER = Version.fromString("0.100.3.7");
/** Version for storing the latest supported version of Towny, for validation. */
private static final Version VALID_TOWNY_VER = Version.fromString("0.100.0.0");
private static final Version VALID_TOWNY_VER = Version.fromString("0.100.3.7");
/** Value of minimum configuration file version. Used for determining if file should be regenerated. */
private static final double MIN_CONFIG_VER = 1.6;
/** BStats Metrics ID. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import com.palmergames.bukkit.towny.object.Resident;
import com.palmergames.bukkit.towny.object.Town;
import com.palmergames.bukkit.towny.object.TownBlock;
import com.palmergames.bukkit.towny.object.TransactionType;
import com.palmergames.bukkit.towny.object.economy.transaction.TransactionType;
import com.palmergames.bukkit.towny.object.WorldCoord;
import io.github.townyadvanced.flagwar.FlagWar;
import io.github.townyadvanced.flagwar.FlagWarAPI;
Expand Down

0 comments on commit 9ea4de0

Please sign in to comment.