File tree 3 files changed +4
-4
lines changed
pvpmanager/src/main/java/me/chancesd/pvpmanager/player/nametag
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Artifact Information:
35
35
<dependency >
36
36
<groupId >me.NoChance.PvPManager</groupId >
37
37
<artifactId >pvpmanager</artifactId >
38
- <version >3.18.30 </version >
38
+ <version >3.18.40 </version >
39
39
<scope >provided</scope >
40
40
</dependency >
41
41
```
Original file line number Diff line number Diff line change 11
11
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12
12
<sonar .organization>chancesd</sonar .organization>
13
13
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
14
- <revision >3.18.36 </revision >
14
+ <revision >3.18.40 </revision >
15
15
</properties >
16
16
17
17
<distributionManagement >
Original file line number Diff line number Diff line change @@ -147,12 +147,12 @@ public final synchronized void setPvP(final boolean state) {
147
147
if (pvpOn == null ) {
148
148
restoreNametag ();
149
149
} else {
150
- pvpOn . addEntry ( pvPlayer .getName ());
150
+ addToTeam ( pvpOn , pvPlayer .getName ());
151
151
}
152
152
} else if (pvpOff == null ) {
153
153
restoreNametag ();
154
154
} else {
155
- pvpOff . addEntry ( pvPlayer .getName ());
155
+ addToTeam ( pvpOff , pvPlayer .getName ());
156
156
}
157
157
}
158
158
You can’t perform that action at this time.
0 commit comments