Skip to content

Commit

Permalink
Backwards compatibility restored.
Browse files Browse the repository at this point in the history
Fixes #119
  • Loading branch information
tastybento committed Jan 11, 2020
1 parent 4bf86bb commit ccc3ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.11.0-SNAPSHOT</bentobox.version>
<bentobox.version>1.9.0</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- Do not change unless you want different name for local builds. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private void fireIslandLevelCalcEvent() {
keyValues.put("pointsToNextLevel", calc.getResult().getPointsToNextLevel());
keyValues.put("deathHandicap", calc.getResult().getDeathHandicap());
keyValues.put("initialLevel", calc.getResult().getInitialLevel());
AddonEvent.builder().addon(addon).keyValues(keyValues).build();
new AddonEvent().builder().addon(addon).keyValues(keyValues).build();
Results results = ilce.getResults();
// Save the results
island.getMemberSet().forEach(m -> addon.setIslandLevel(world, m, results.getLevel()));
Expand Down

0 comments on commit ccc3ef6

Please sign in to comment.