Skip to content

Commit

Permalink
fixed some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Matistan committed Apr 13, 2024
1 parent e443781 commit 4abbb7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.matistan05</groupId>
<artifactId>MinecraftBlockShuffle</artifactId>
<version>1.4</version>
<version>1.4.1</version>
<packaging>jar</packaging>

<name>MinecraftBlockShuffle</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ public void run() {
return true;
}
for (int i = 0; i < players.size(); i++) {
System.out.println(finished.get(i) + " " + points.get(i));
if (main.getConfig().getInt("gameMode") == 1 && finished.get(i)) {
points.set(i, points.get(i) - 1);
}
finished.set(i, true);
}
playersMessage(ChatColor.DARK_GREEN + " skipped the round!");
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ permissions:
blockshuffle.start: true
blockshuffle.reset: true
blockshuffle.list: true
blockshuffle.skip: true
blockshuffle.ban: true
blockshuffle.unban: true
blockshuffle.help: true

0 comments on commit 4abbb7f

Please sign in to comment.