Use extended not extended_teams

This commit is contained in:
libraryaddict 2020-05-07 22:05:34 +12:00
parent fa778e2709
commit c6233f5066
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -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: