Rename tall disguises config option to reset it, was bugged and no one liked default option
This commit is contained in:
parent
684e57827c
commit
61128dd372
@ -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());
|
||||
|
||||
|
@ -43,7 +43,6 @@ UpdateConfig: true
|
||||
# Useful if you didn't purchase the plugin.
|
||||
DisableCommands: false
|
||||
|
||||
# The disguise plugin stores all GameProfiles inside a folder called "GameProfiles" as a local cache
|
||||
# This means that the plugin doesn't need to constantly call Mojang just to find a skin for an offline player
|
||||
# However some people may prefer to disable this.
|
||||
# Even if you disable this, if there was disguises in the cache already then it will use them
|
||||
@ -128,9 +127,9 @@ UndisguiseRadiusMax: 50
|
||||
# Best used when viewing yourself in 3rd person
|
||||
ViewSelfDisguises: true
|
||||
# Some disguises are rather big and tall and block your vision
|
||||
# By default those disguises are disabled, such as zombies, players, etc.
|
||||
# By default those disguises are enabled despite misgivings, such as zombies, players, etc.
|
||||
# The baby versions however, should be short enough that it's a non-issue
|
||||
HideTallSelfDisguises: false
|
||||
TallSelfDisguises: true
|
||||
|
||||
# Shall I disguise the sounds?
|
||||
# This turns your damage sound into a MOOOO
|
||||
|
Loading…
Reference in New Issue
Block a user