Skip to content

Commit

Permalink
[1.1.9] Fixed score bug in statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannici committed May 18, 2015
1 parent 926ff5a commit 3349d33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.xml
Expand Up @@ -6,7 +6,7 @@
<property name="src" location="./" />
<property name="build" location="build" />
<property name="dist" location="dist" />
<property name="version" value="1.1.8" />
<property name="version" value="1.1.9" />

<path id="bedwars.classpath">
<pathelement location="lib/c3p0-0.9.5.jar" />
Expand Down
2 changes: 1 addition & 1 deletion plugin.yml
Expand Up @@ -4,7 +4,7 @@ author: Yannici
website: http://www.spigotmc.org/resources/bedwars-rel.6799/

main: io.github.yannici.bedwars.Main
version: 1.1.8
version: 1.1.9

awareness:
- !@UTF8
Expand Down
2 changes: 1 addition & 1 deletion src/io/github/yannici/bedwars/Game/Game.java
Expand Up @@ -593,7 +593,7 @@ public boolean playerLeave(Player p) {

if(Main.getInstance().statisticsEnabled()) {
// store statistics and unload
statistic.setScore(statistic.getCurrentScore());
statistic.setScore(statistic.getScore() + statistic.getCurrentScore());
statistic.setCurrentScore(0);
statistic.store();

Expand Down

0 comments on commit 3349d33

Please sign in to comment.