Functional GUI fix added by billygalbreath
Use the world entity map instead of iterating over all players