Check for null on disguise team name
This commit is contained in:
parent
99bbf66921
commit
39489d0080
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 New Issue
Block a user