Check for null on disguise team name
This commit is contained in:
		
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ | |||||||
|     <!-- A good example on why temporary names for project identification shouldn't be used --> |     <!-- A good example on why temporary names for project identification shouldn't be used --> | ||||||
|     <groupId>LibsDisguises</groupId> |     <groupId>LibsDisguises</groupId> | ||||||
|     <artifactId>LibsDisguises</artifactId> |     <artifactId>LibsDisguises</artifactId> | ||||||
|     <version>10.0.15</version> |     <version>10.0.15-SNAPSHOT</version> | ||||||
|  |  | ||||||
|     <build> |     <build> | ||||||
|         <defaultGoal>exec:java clean install</defaultGoal> |         <defaultGoal>exec:java clean install</defaultGoal> | ||||||
|   | |||||||
| @@ -45,7 +45,7 @@ public class PacketListenerScoreboardTeam extends PacketAdapter { | |||||||
|  |  | ||||||
|                 DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName(); |                 DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName(); | ||||||
|  |  | ||||||
|                 if (!t.getTeamName().equals(name)) { |                 if (!name.equals(t.getTeamName())) { | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user