Remade changes to PlayerEnvironment