Rename tall disguises config option to reset it, was bugged and no one liked default option
This commit is contained in:
@@ -239,7 +239,7 @@ public class DisguiseConfig {
|
||||
private static BukkitTask updaterTask;
|
||||
@Getter
|
||||
@Setter
|
||||
private static boolean hideTallSelfDisguises;
|
||||
private static boolean tallSelfDisguises;
|
||||
@Getter
|
||||
@Setter
|
||||
private static PlayerNameType playerNameType = PlayerNameType.TEAMS;
|
||||
@@ -647,7 +647,7 @@ public class DisguiseConfig {
|
||||
setWolfDyeable(config.getBoolean("DyeableWolf"));
|
||||
setTablistRemoveDelay(config.getInt("TablistRemoveDelay"));
|
||||
setAutoUpdate(config.getBoolean("AutoUpdate"));
|
||||
setHideTallSelfDisguises(config.getBoolean("HideTallSelfDisguises"));
|
||||
setTallSelfDisguises(config.getBoolean("TallSelfDisguises"));
|
||||
setOverrideCustomNames(config.getBoolean("OverrideCustomNames"));
|
||||
|
||||
if (!LibsPremium.isPremium() && (isSavePlayerDisguises() || isSaveEntityDisguises())) {
|
||||
|
@@ -99,7 +99,7 @@ public abstract class Disguise {
|
||||
private boolean customDisguiseName = true;
|
||||
@Getter
|
||||
@Setter
|
||||
private boolean tallDisguisesVisible = !DisguiseConfig.isHideTallSelfDisguises();
|
||||
private boolean tallDisguisesVisible = DisguiseConfig.isTallSelfDisguises();
|
||||
private String[] multiName = new String[0];
|
||||
private transient int[] armorstandIds = new int[0];
|
||||
|
||||
@@ -608,7 +608,7 @@ public abstract class Disguise {
|
||||
setupWatcher();
|
||||
}
|
||||
|
||||
if (getEntity() instanceof Player && isSelfDisguiseVisible() && isTallDisguisesVisible() &&
|
||||
if (getEntity() instanceof Player && isSelfDisguiseVisible() && !isTallDisguisesVisible() &&
|
||||
!getType().isCustom()) {
|
||||
DisguiseValues values = DisguiseValues.getDisguiseValues(getType());
|
||||
|
||||
|
Reference in New Issue
Block a user