This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore session reset if player doesn't move a block.
So technically we do this block check in Session#testMoveTo, but the /wg flushstates command can force a session re-initialization even if the player hasn't moved a full block yet. The amount of logic going on between the event call and the point where we test that force boolean is rather lengthy though, so ignoring it for the time being may be worth it. TL;DR: Don't want WG in timings for PlayerMoveEvent needlessly.
- Loading branch information
Showing 1 changed file with 11 additions and 3 deletions.