Skip to content

Commit

Permalink
Implement and bump GalliumLib
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSlimeDiamond committed Jul 15, 2023
1 parent 4061764 commit 69669f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/galliumpowered/ServerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
public class ServerImpl implements Server {

@Override
public int currentPlayerCount() {
public int getCurrentPlayerCount() {
return Mod.getMinecraftServer().getPlayerCount();
}

@Override
public int maxPlayerCount() {
public int getMaxPlayerCount() {
return Mod.getMinecraftServer().getMaxPlayers();
}

Expand Down

0 comments on commit 69669f3

Please sign in to comment.