Fixes error when no players in MC server