From 8ff6686b1e5a4c564439ac5d999ff7512b2ed67b Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 21 Mar 2021 22:38:25 +1300 Subject: [PATCH] Remove a config option that was both a dupe and ignored --- src/main/java/me/libraryaddict/disguise/DisguiseConfig.java | 4 ---- src/main/resources/configs/players.yml | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/DisguiseConfig.java b/src/main/java/me/libraryaddict/disguise/DisguiseConfig.java index f28c43c6..75ab5b96 100644 --- a/src/main/java/me/libraryaddict/disguise/DisguiseConfig.java +++ b/src/main/java/me/libraryaddict/disguise/DisguiseConfig.java @@ -186,9 +186,6 @@ public class DisguiseConfig { private static int maxClonedDisguises; @Getter @Setter - private static int playerDisguisesTablistExpires; - @Getter - @Setter private static int uuidGeneratedVersion; @Getter @Setter @@ -606,7 +603,6 @@ public class DisguiseConfig { setNameAboveHeadAlwaysVisible(config.getBoolean("NameAboveHeadAlwaysVisible")); setNameOfPlayerShownAboveDisguise(config.getBoolean("ShowNamesAboveDisguises")); setNameAboveDisguise(config.getString("NameAboveDisguise")); - setPlayerDisguisesTablistExpires(config.getInt("PlayerDisguisesTablistExpiry")); setPlayerHideArmor(config.getBoolean("PlayerHideArmor")); setRetaliationCombat(config.getBoolean("RetaliationCombat")); setSaveGameProfiles(config.getBoolean("SaveGameProfiles")); diff --git a/src/main/resources/configs/players.yml b/src/main/resources/configs/players.yml index d2923156..c7f3d153 100644 --- a/src/main/resources/configs/players.yml +++ b/src/main/resources/configs/players.yml @@ -33,9 +33,6 @@ ShowPlayerDisguisesInTab: false # On player disguise, a fake player is added to tablist so the skin can load properly. # 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 TablistRemoveDelay: 3