Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja90n committed Dec 11, 2023
1 parent b1d8e21 commit fa6c64c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
45 changes: 45 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,56 @@
<version>1.0.0</version>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>com.jadonvb.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>jitpack</id>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/jadonvb/instances/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public void addPlayer(Player player) {
startCountDown.start();
}
}
System.out.println(players.size());
}

public void removePlayer(Player player) {
Expand Down Expand Up @@ -134,6 +133,8 @@ public void replayRound(Player player) {
}
}

System.out.println(player.getUsername() + " won a round!");

teleportPlayers();
}

Expand Down

0 comments on commit fa6c64c

Please sign in to comment.