Skip to content

Commit

Permalink
Fix #46
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jun 25, 2016
1 parent d093f2b commit 4da988d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void profileEntity(World w, Entity entity) {
}

public void profileTileEntity(TileEntity tileEntity) {
final boolean profile = profilingState == ProfileCommand.ProfilingState.ENTITIES || (tileEntity.xCoord << 4 == chunkX && tileEntity.zCoord << 4 == chunkZ);
final boolean profile = profilingState == ProfileCommand.ProfilingState.ENTITIES || (tileEntity.xCoord >> 4 == chunkX && tileEntity.zCoord >> 4 == chunkZ);

if (!profile) {
tileEntity.updateEntity();
Expand Down

0 comments on commit 4da988d

Please sign in to comment.