Change default value for new ocelot setting (#3797)

This commit is contained in:
EnZaXD 2024-04-21 15:15:17 +02:00 committed by GitHub
parent 33cc21d6e6
commit ce2ad7d5eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View File

@ -27,8 +27,6 @@ import com.viaversion.viaversion.api.connection.StorableObject;
import com.viaversion.viaversion.api.connection.UserConnection;
import com.viaversion.viaversion.api.minecraft.WorldIdentifiers;
import com.viaversion.viaversion.api.protocol.version.BlockedProtocolVersions;
import it.unimi.dsi.fastutil.ints.IntSet;
import org.checkerframework.checker.nullness.qual.Nullable;
public interface ViaVersionConfig extends Config {
@ -454,7 +452,7 @@ public interface ViaVersionConfig extends Config {
boolean isArmorToggleFix();
/**
* Ocelots will always be translated to cats for 1.14+ clients on 1.13 servers.
* If disabled, tamed cats will be displayed as ocelots to 1.14+ clients on 1.13 servers. Otherwise, ocelots (tamed and untamed) will be displayed as cats.
*
* @return true if enabled
*/

View File

@ -158,7 +158,7 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
worlds.getOrDefault("nether", WorldIdentifiers.NETHER_DEFAULT),
worlds.getOrDefault("end", WorldIdentifiers.END_DEFAULT));
cache1_17Light = getBoolean("cache-1_17-light", true);
translateOcelotToCat = getBoolean("translate-ocelot-to-cat", false);
translateOcelotToCat = getBoolean("translate-ocelot-to-cat", true);
}
private BlockedProtocolVersions loadBlockedProtocolVersions() {

View File

@ -175,7 +175,7 @@ map-1_16-world-names:
nether: "minecraft:the_nether"
end: "minecraft:the_end"
#
# Ocelots will always be translated to cats for 1.14+ clients on 1.13 servers.
# If disabled, tamed cats will be displayed as ocelots to 1.14+ clients on 1.13 servers. Otherwise, ocelots (tamed and untamed) will be displayed as cats.
translate-ocelot-to-cat: false
#
#----------------------------------------------------------#