„src/main/java/de/zonlykroks/advancedscripts/mixin/ClientLoginNetworkHandlerMixin.java“ ändern
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
c0a1a1dce4
Commit
7895f0f2c9
@ -29,11 +29,9 @@ public class ClientLoginNetworkHandlerMixin {
|
||||
|
||||
@Inject(method = "onSuccess", at = @At("TAIL"))
|
||||
public void isOnSteamwar(LoginSuccessS2CPacket packet, CallbackInfo ci) {
|
||||
if(AdvancedScripts.isOnSteamwar) {
|
||||
String adress = ((ClientLoginNetworkHandler) (Object)this).serverInfo.address;
|
||||
String adress = ((ClientLoginNetworkHandler) (Object)this).serverInfo.address;
|
||||
|
||||
AdvancedScripts.isOnSteamwar = adress == "steamwar.de" || adress == "78.31.71.136";
|
||||
}
|
||||
AdvancedScripts.isOnSteamwar = adress == "steamwar.de" || adress == "78.31.71.136";
|
||||
}
|
||||
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren