Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Disable out of synch debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Feb 6, 2016
1 parent 5d034d1 commit 3b587ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/net/minecraft/world/WorldServer.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
{
- throw new IllegalStateException("TickNextTick list out of synch");
+ if(System.currentTimeMillis() - last > 20000){
+ System.out.println("[WARN - Robotia] TickNextTick list out of synch by " +Math.abs(this.pendingTickListEntriesTreeSet.size()-this.pendingTickListEntriesHashSet.size() ));
+ //System.out.println("[WARN - Robotia] TickNextTick list out of synch by " +Math.abs(this.pendingTickListEntriesTreeSet.size()-this.pendingTickListEntriesHashSet.size() ));
+ reevaluate(); last = System.currentTimeMillis();}
+ //throw new IllegalStateException("TickNextTick list out of synch");
}
Expand Down

0 comments on commit 3b587ce

Please sign in to comment.