File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
plugin/src/main/java/com/craftmend/openaudiomc
spigot/modules/users/adapters Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 174174 <artifactId >junit</artifactId >
175175 <version >4.13.2</version >
176176 <scope >test</scope >
177+ <exclusions >
178+ <exclusion >
179+ <artifactId >hamcrest-core</artifactId >
180+ <groupId >org.hamcrest</groupId >
181+ </exclusion >
182+ </exclusions >
177183 </dependency >
178184 </dependencies >
179185 <properties >
Original file line number Diff line number Diff line change 22
33import com .craftmend .openaudiomc .OpenAudioMc ;
44import com .craftmend .openaudiomc .api .EventApi ;
5+ import com .craftmend .openaudiomc .api .VoiceApi ;
56import com .craftmend .openaudiomc .api .events .client .ClientAuthenticationEvent ;
67import com .craftmend .openaudiomc .generic .authentication .AuthenticationService ;
78import com .craftmend .openaudiomc .generic .client .helpers .SerializableClient ;
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public UUID getUniqueId() {
126126 @ Override
127127 public String getIpAddress () {
128128 if (player instanceof Player ) {
129- if (!StorageKey .SETTINGS_TOKEN_AUTO_LOGIN .getBoolean () && ! MagicValue .FORCE_DISABLE_CLIENT_NET_LOOKUP .get (Boolean .class )) {
129+ if (!StorageKey .SETTINGS_TOKEN_AUTO_LOGIN .getBoolean () || MagicValue .FORCE_DISABLE_CLIENT_NET_LOOKUP .get (Boolean .class )) {
130130 return "unknown" ;
131131 }
132132
You can’t perform that action at this time.
0 commit comments