Skip to content

Commit

Permalink
Merge pull request #39 from ataranlen/1.76-dev
Browse files Browse the repository at this point in the history
Fix an issue with Quarry upgrades not going through.
  • Loading branch information
ataranlen committed Feb 24, 2016
2 parents 72d8d77 + 26ef842 commit 24deb16
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion civcraft/bin/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CivCraft
main: com.avrgaming.civcraft.main.CivCraft
softdepends: [TitleAPI]
version: 1.76
version: 1.76.1

commands:
town:
Expand Down
2 changes: 1 addition & 1 deletion civcraft/data/structures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ structures:
value: '25.0'

- id: s_capitol
template: capitol #XXX misspelt =( but its easier to leave it that way.
template: capitol
template_y_shift: 0
displayName: Capitol
require_tech:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ public void processAction(Town town) throws CivException {
}
break;
case "set_quarry_level":
if (town.saved_trommel_level < Integer.valueOf(args[1].trim()))
if (town.saved_quarry_level < Integer.valueOf(args[1].trim()))
{
town.saved_trommel_level = Integer.valueOf(args[1].trim());
town.saved_quarry_level = Integer.valueOf(args[1].trim());
}
boolean didUpgradeQuarry = false;
for (Structure structure : town.getStructures()) {
Expand Down
2 changes: 1 addition & 1 deletion civcraft/src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CivCraft
main: com.avrgaming.civcraft.main.CivCraft
softdepends: [TitleAPI]
version: 1.76
version: 1.76.1

commands:
town:
Expand Down

0 comments on commit 24deb16

Please sign in to comment.