Remove a config option that was both a dupe and ignored

This commit is contained in:
libraryaddict 2021-03-21 22:38:25 +13:00
parent 6eaa42c1bb
commit 8ff6686b1e
2 changed files with 0 additions and 7 deletions

View File

@ -186,9 +186,6 @@ public class DisguiseConfig {
private static int maxClonedDisguises; private static int maxClonedDisguises;
@Getter @Getter
@Setter @Setter
private static int playerDisguisesTablistExpires;
@Getter
@Setter
private static int uuidGeneratedVersion; private static int uuidGeneratedVersion;
@Getter @Getter
@Setter @Setter
@ -606,7 +603,6 @@ public class DisguiseConfig {
setNameAboveHeadAlwaysVisible(config.getBoolean("NameAboveHeadAlwaysVisible")); setNameAboveHeadAlwaysVisible(config.getBoolean("NameAboveHeadAlwaysVisible"));
setNameOfPlayerShownAboveDisguise(config.getBoolean("ShowNamesAboveDisguises")); setNameOfPlayerShownAboveDisguise(config.getBoolean("ShowNamesAboveDisguises"));
setNameAboveDisguise(config.getString("NameAboveDisguise")); setNameAboveDisguise(config.getString("NameAboveDisguise"));
setPlayerDisguisesTablistExpires(config.getInt("PlayerDisguisesTablistExpiry"));
setPlayerHideArmor(config.getBoolean("PlayerHideArmor")); setPlayerHideArmor(config.getBoolean("PlayerHideArmor"));
setRetaliationCombat(config.getBoolean("RetaliationCombat")); setRetaliationCombat(config.getBoolean("RetaliationCombat"));
setSaveGameProfiles(config.getBoolean("SaveGameProfiles")); setSaveGameProfiles(config.getBoolean("SaveGameProfiles"));

View File

@ -33,9 +33,6 @@ ShowPlayerDisguisesInTab: false
# On player disguise, a fake player is added to tablist so the skin can load properly. # On player disguise, a fake player is added to tablist so the skin can load properly.
# This option is ignored if 'ShowPlayerDisguisesInTab' is enabled. # This option is ignored if 'ShowPlayerDisguisesInTab' is enabled.
# 3 ticks should easily be enough.
PlayerDisguisesTablistExpires: 3
# How many ticks before tab packet is sent to remove from tablist. This shouldn't need to be touched # How many ticks before tab packet is sent to remove from tablist. This shouldn't need to be touched
TablistRemoveDelay: 3 TablistRemoveDelay: 3