Please sign in to comment.
Branch will remove TownyWorlds saving a list of towns. (#3799)
Branch will remove TownyWorlds saving a list of towns. Towns have changed from town.getWorld() to town.getHomeblockWorld(), with getWorld() becoming deprecated and returning getHomeblockWorld(). Some instances of town.getWorld() are now correctly using townblock.getWorld() or something similar when it is called for. Stop getHomeblockWorld() from returning null when towns have claimed 0 townblocks. Towny.setWorldFlags() from startup sequence is gone. SQL now drops old towns columns and saves/loads worlds without towns like flatfile. Swap out the List version of towns in TownyWorld for a HashMap, for faster loading of TownBlocks Remove unneeded loop. Fix up for loops. Fix pvp disabled worlds still be affected with recent change to CombatUtil#preventPVP.
- Loading branch information
Showing with 87 additions and 120 deletions.
- +0 −30 src/com/palmergames/bukkit/towny/Towny.java
- +2 −2 src/com/palmergames/bukkit/towny/TownyFormatter.java
- +5 −5 src/com/palmergames/bukkit/towny/command/PlotCommand.java
- +6 −6 src/com/palmergames/bukkit/towny/command/TownCommand.java
- +1 −1 src/com/palmergames/bukkit/towny/command/TownyAdminCommand.java
- +19 −3 src/com/palmergames/bukkit/towny/db/SQL_Schema.java
- +5 −4 src/com/palmergames/bukkit/towny/db/TownyDatabaseHandler.java
- +3 −21 src/com/palmergames/bukkit/towny/db/TownyFlatFileSource.java
- +3 −18 src/com/palmergames/bukkit/towny/db/TownySQLSource.java
- +2 −2 src/com/palmergames/bukkit/towny/object/Nation.java
- +18 −7 src/com/palmergames/bukkit/towny/object/Town.java
- +14 −16 src/com/palmergames/bukkit/towny/object/TownyWorld.java
- +4 −4 src/com/palmergames/bukkit/towny/tasks/TownClaim.java
- +4 −0 src/com/palmergames/bukkit/towny/utils/CombatUtil.java
- +1 −1 src/com/palmergames/bukkit/towny/utils/PlayerCacheUtil.java
Oops, something went wrong.