Changed the comparison method from int to ArrayList to reduce the possibility of a collision (probably doesnt make a difference but the code is easier to understand in my opinion)
Added checks for player team styling (The tablist didn't update in some scenarios before which was annoying)