mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 17:02:13 +02:00
Merge branch 'master' into 1.20.2
This commit is contained in:
commit
462776f6c7
@ -13,7 +13,7 @@ loader_version=0.15.7
|
||||
fabric_version=0.91.6+1.20.2
|
||||
|
||||
# Mod Properties
|
||||
mod_version = v7.41.1-MC1.20.2
|
||||
mod_version = v7.41.2-MC1.20.2
|
||||
maven_group = net.wurstclient
|
||||
archives_base_name = Wurst-Client
|
||||
|
||||
|
@ -58,7 +58,7 @@ public enum WurstClient
|
||||
public static MinecraftClient MC;
|
||||
public static IMinecraftClient IMC;
|
||||
|
||||
public static final String VERSION = "7.41.1";
|
||||
public static final String VERSION = "7.41.2";
|
||||
public static final String MC_VERSION = "1.20.2";
|
||||
|
||||
private WurstAnalytics analytics;
|
||||
|
@ -34,8 +34,12 @@ public abstract class TitleScreenMixin extends Screen
|
||||
super(title);
|
||||
}
|
||||
|
||||
@Inject(at = @At("RETURN"), method = "init()V")
|
||||
private void onInitWidgetsNormal(CallbackInfo ci)
|
||||
/**
|
||||
* Adds the AltManager button to the title screen. This mixin must not
|
||||
* run in demo mode, as the Realms button doesn't exist there.
|
||||
*/
|
||||
@Inject(at = @At("RETURN"), method = "initWidgetsNormal(II)V")
|
||||
private void onInitWidgetsNormal(int y, int spacingY, CallbackInfo ci)
|
||||
{
|
||||
if(!WurstClient.INSTANCE.isEnabled())
|
||||
return;
|
||||
|
@ -69,11 +69,6 @@ public class WurstServerPinger
|
||||
return !failed;
|
||||
}
|
||||
|
||||
public boolean isOtherVersion()
|
||||
{
|
||||
return server.protocolVersion != 47;
|
||||
}
|
||||
|
||||
public String getServerIP()
|
||||
{
|
||||
return server.address;
|
||||
|
Loading…
Reference in New Issue
Block a user