Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-16 04:50:08 +01:00
Remove minimize-cooldown config option (#4009)
Dieser Commit ist enthalten in:
Ursprung
3138d667a6
Commit
323f0fa087
@ -292,13 +292,6 @@ public interface ViaVersionConfig extends Config {
|
|||||||
*/
|
*/
|
||||||
boolean isDisable1_13AutoComplete();
|
boolean isDisable1_13AutoComplete();
|
||||||
|
|
||||||
/**
|
|
||||||
* Tries to minimize cooldown animation.
|
|
||||||
*
|
|
||||||
* @return true if enabled
|
|
||||||
*/
|
|
||||||
boolean isMinimizeCooldown();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable the serverside blockconnections for 1.13+ clients
|
* Enable the serverside blockconnections for 1.13+ clients
|
||||||
*
|
*
|
||||||
|
@ -72,7 +72,6 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
|
|||||||
private String reloadDisconnectMessage;
|
private String reloadDisconnectMessage;
|
||||||
private boolean suppressConversionWarnings;
|
private boolean suppressConversionWarnings;
|
||||||
private boolean disable1_13TabComplete;
|
private boolean disable1_13TabComplete;
|
||||||
private boolean minimizeCooldown;
|
|
||||||
private boolean teamColourFix;
|
private boolean teamColourFix;
|
||||||
private boolean serversideBlockConnections;
|
private boolean serversideBlockConnections;
|
||||||
private boolean reduceBlockStorageMemory;
|
private boolean reduceBlockStorageMemory;
|
||||||
@ -134,7 +133,6 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
|
|||||||
blockedProtocolVersions = loadBlockedProtocolVersions();
|
blockedProtocolVersions = loadBlockedProtocolVersions();
|
||||||
blockedDisconnectMessage = getString("block-disconnect-msg", "You are using an unsupported Minecraft version!");
|
blockedDisconnectMessage = getString("block-disconnect-msg", "You are using an unsupported Minecraft version!");
|
||||||
reloadDisconnectMessage = getString("reload-disconnect-msg", "Server reload, please rejoin!");
|
reloadDisconnectMessage = getString("reload-disconnect-msg", "Server reload, please rejoin!");
|
||||||
minimizeCooldown = getBoolean("minimize-cooldown", true);
|
|
||||||
teamColourFix = getBoolean("team-colour-fix", true);
|
teamColourFix = getBoolean("team-colour-fix", true);
|
||||||
suppressConversionWarnings = getBoolean("suppress-conversion-warnings", false);
|
suppressConversionWarnings = getBoolean("suppress-conversion-warnings", false);
|
||||||
disable1_13TabComplete = getBoolean("disable-1_13-auto-complete", false);
|
disable1_13TabComplete = getBoolean("disable-1_13-auto-complete", false);
|
||||||
@ -403,11 +401,6 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
|
|||||||
return reloadDisconnectMessage;
|
return reloadDisconnectMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isMinimizeCooldown() {
|
|
||||||
return minimizeCooldown;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean is1_13TeamColourFix() {
|
public boolean is1_13TeamColourFix() {
|
||||||
return teamColourFix;
|
return teamColourFix;
|
||||||
|
@ -278,8 +278,6 @@ public class EntityPacketRewriter1_9 extends EntityRewriter<ClientboundPackets1_
|
|||||||
public void register() {
|
public void register() {
|
||||||
map(Types.VAR_INT);
|
map(Types.VAR_INT);
|
||||||
handler(wrapper -> {
|
handler(wrapper -> {
|
||||||
if (!Via.getConfig().isMinimizeCooldown()) return;
|
|
||||||
|
|
||||||
EntityTracker1_9 tracker = wrapper.user().getEntityTracker(Protocol1_8To1_9.class);
|
EntityTracker1_9 tracker = wrapper.user().getEntityTracker(Protocol1_8To1_9.class);
|
||||||
if (wrapper.get(Types.VAR_INT, 0) != tracker.getProvidedEntityId()) {
|
if (wrapper.get(Types.VAR_INT, 0) != tracker.getProvidedEntityId()) {
|
||||||
return;
|
return;
|
||||||
|
@ -205,7 +205,5 @@ replace-pistons: false
|
|||||||
replacement-piston-id: 0
|
replacement-piston-id: 0
|
||||||
# Fix 1.9+ clients not rendering the far away chunks and improve chunk rendering when moving fast (Increases network usage and decreases client fps slightly)
|
# Fix 1.9+ clients not rendering the far away chunks and improve chunk rendering when moving fast (Increases network usage and decreases client fps slightly)
|
||||||
chunk-border-fix: false
|
chunk-border-fix: false
|
||||||
# Minimize the cooldown animation in 1.8 servers
|
|
||||||
minimize-cooldown: true
|
|
||||||
# Allows 1.9+ left-handedness (main hand) on 1.8 servers
|
# Allows 1.9+ left-handedness (main hand) on 1.8 servers
|
||||||
left-handed-handling: true
|
left-handed-handling: true
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren