mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-09-27 04:22:36 +02:00
Default disable VV update checker
This commit is contained in:
parent
3366b6766e
commit
b230a9e2f7
@ -34,7 +34,6 @@ import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/*
|
||||
* TODO | Port 1.20.6
|
||||
* - ClientPlayNetworkHandler#processAll in onEnterReconfiguration is new
|
||||
* - ClientPlayerInteractionManager#interactBlockInternal added new condition
|
||||
* - Camera zoom calculation uses entity size now (?)
|
||||
* - MouseHandling changed (not sure if relevant)
|
||||
@ -43,7 +42,6 @@ import java.util.concurrent.CompletableFuture;
|
||||
* - Particle handling has slightly changed
|
||||
* - handleOpenBook now also handles writeable book contents (not sure if relevant)
|
||||
* - Entity fall damage calculation is different
|
||||
* -
|
||||
*
|
||||
* TODO | General
|
||||
* - Make recipe fixes dynamic instead of a data dump in java classes
|
||||
|
@ -260,7 +260,7 @@ public class ProtocolTranslator {
|
||||
/**
|
||||
* Apply recommended config options to the ViaVersion config files
|
||||
*
|
||||
* @param configFolder The directory where the ViaVersion config files are located
|
||||
* @param configFolder The directory where the ViaVersion config files is located
|
||||
*/
|
||||
private static void patchConfigs(final File configFolder) {
|
||||
configFolder.mkdirs();
|
||||
@ -268,6 +268,7 @@ public class ProtocolTranslator {
|
||||
try {
|
||||
final File viaVersionConfig = new File(configFolder, "viaversion.yml");
|
||||
Files.writeString(viaVersionConfig.toPath(), """
|
||||
check-for-updates: false
|
||||
fix-infested-block-breaking: false
|
||||
shield-blocking: false
|
||||
no-delay-shield-blocking: true
|
||||
|
@ -104,7 +104,7 @@ public abstract class VFPListEntry extends AlwaysSelectedEntryListWidget.Entry<V
|
||||
*/
|
||||
@Override
|
||||
public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) {
|
||||
// Allows cross sharing of global variables between util methods
|
||||
// Allows cross-sharing of global variables between util methods
|
||||
this.context = context;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
|
@ -95,7 +95,7 @@ public class VFPScreen extends Screen {
|
||||
this.subtitle = subtitle;
|
||||
this.subtitlePressAction = subtitlePressAction;
|
||||
|
||||
if (subtitleWidget != null) { // Allows to remove the subtitle when calling this method twice.
|
||||
if (subtitleWidget != null) { // Allows removing the subtitle when calling this method twice.
|
||||
remove(subtitleWidget);
|
||||
subtitleWidget = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user