Skip to content

Commit

Permalink
fixin lowercase stalk module
Browse files Browse the repository at this point in the history
  • Loading branch information
anOtherAnalyse committed Oct 16, 2020
1 parent dae5b75 commit 8915bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/family_fun_pack/modules/StalkModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected void enable() {
NetHandlerPlayClient handler = (NetHandlerPlayClient) inet_hanlder;

for(NetworkPlayerInfo info : handler.getPlayerInfoMap()) {
if(this.players.contains(info.getGameProfile().getName())) {
if(this.players.contains(info.getGameProfile().getName().toLowerCase())) {
FamilyFunPack.printMessage(StalkModule.ANNOUNCE_COLOR + "Player " + info.getGameProfile().getName() + " is connected [" + info.getGameType().getName() + "]");
}
}
Expand Down

0 comments on commit 8915bae

Please sign in to comment.