mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Use extended not extended_teams
This commit is contained in:
parent
fa778e2709
commit
c6233f5066
2 changed files with 5 additions and 5 deletions
|
@ -242,14 +242,14 @@ public class DisguiseConfig {
|
|||
private static boolean hideTallSelfDisguises;
|
||||
@Getter
|
||||
@Setter
|
||||
private static PlayerNameType playerNameType = PlayerNameType.ARMORSTANDS;
|
||||
private static PlayerNameType playerNameType = PlayerNameType.TEAMS;
|
||||
|
||||
public static boolean isArmorstandsName() {
|
||||
return getPlayerNameType() == PlayerNameType.ARMORSTANDS;
|
||||
}
|
||||
|
||||
public static boolean isExtendedNames() {
|
||||
return getPlayerNameType() == PlayerNameType.TEAMS_EXTENDED;
|
||||
return getPlayerNameType() == PlayerNameType.EXTENDED;
|
||||
}
|
||||
|
||||
public static void setAutoUpdate(boolean update) {
|
||||
|
@ -1094,11 +1094,11 @@ public class DisguiseConfig {
|
|||
public enum PlayerNameType {
|
||||
VANILLA,
|
||||
TEAMS,
|
||||
TEAMS_EXTENDED,
|
||||
EXTENDED,
|
||||
ARMORSTANDS;
|
||||
|
||||
public boolean isTeams() {
|
||||
return this == TEAMS || this == TEAMS_EXTENDED;
|
||||
return this == TEAMS || this == EXTENDED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||
case TEAMS:
|
||||
cLimit = 16 * 2;
|
||||
break;
|
||||
case TEAMS_EXTENDED:
|
||||
case EXTENDED:
|
||||
cLimit = 16 * 3;
|
||||
break;
|
||||
case ARMORSTANDS:
|
||||
|
|
Loading…
Reference in a new issue