Skip to content

Commit

Permalink
Correct Logging
Browse files Browse the repository at this point in the history
Co-Authored-By: Liruxo <46451644+Liruxo@users.noreply.github.com>
  • Loading branch information
ChrisLane and Liruxo authored Apr 4, 2019
1 parent 605b4e0 commit 2495b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/flansmod/common/PlayerData.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void addToQueue(EnumHand hand)
//TODO this value (10) is arbitrary and should be tested in real environments
if (count > 10)
{
System.out.println("WARNING: Dropping client shoot requests because client is out of sync by more than half an second");
FlansMod.log.warn("Dropping client shoot requests because the client is out of sync with the server by more than half a second");
return;
}
delayedshoots.put(hand, count+1);
Expand Down

0 comments on commit 2495b82

Please sign in to comment.