Core/Player: Do not add guild rep if player does not have a guild
Fix warnings