Fix player disguises names
This commit is contained in:
		| @@ -43,7 +43,13 @@ public class PacketListenerScoreboardTeam extends PacketAdapter { | |||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|                 team = ((PlayerDisguise) disguise).getScoreboardName(); |                 DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName(); | ||||||
|  |  | ||||||
|  |                 if (!t.getTeamName().equals(name)) { | ||||||
|  |                     continue; | ||||||
|  |                 } | ||||||
|  |  | ||||||
|  |                 team = t; | ||||||
|                 break loop; |                 break loop; | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user