mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Check for null on disguise team name
This commit is contained in:
parent
99bbf66921
commit
39489d0080
2 changed files with 2 additions and 2 deletions
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||
<groupId>LibsDisguises</groupId>
|
||||
<artifactId>LibsDisguises</artifactId>
|
||||
<version>10.0.15</version>
|
||||
<version>10.0.15-SNAPSHOT</version>
|
||||
|
||||
<build>
|
||||
<defaultGoal>exec:java clean install</defaultGoal>
|
||||
|
|
|
@ -45,7 +45,7 @@ public class PacketListenerScoreboardTeam extends PacketAdapter {
|
|||
|
||||
DisguiseUtilities.DScoreTeam t = ((PlayerDisguise) disguise).getScoreboardName();
|
||||
|
||||
if (!t.getTeamName().equals(name)) {
|
||||
if (!name.equals(t.getTeamName())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue