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; private static boolean hideTallSelfDisguises;
@Getter @Getter
@Setter @Setter
private static PlayerNameType playerNameType = PlayerNameType.ARMORSTANDS; private static PlayerNameType playerNameType = PlayerNameType.TEAMS;
public static boolean isArmorstandsName() { public static boolean isArmorstandsName() {
return getPlayerNameType() == PlayerNameType.ARMORSTANDS; return getPlayerNameType() == PlayerNameType.ARMORSTANDS;
} }
public static boolean isExtendedNames() { public static boolean isExtendedNames() {
return getPlayerNameType() == PlayerNameType.TEAMS_EXTENDED; return getPlayerNameType() == PlayerNameType.EXTENDED;
} }
public static void setAutoUpdate(boolean update) { public static void setAutoUpdate(boolean update) {
@ -1094,11 +1094,11 @@ public class DisguiseConfig {
public enum PlayerNameType { public enum PlayerNameType {
VANILLA, VANILLA,
TEAMS, TEAMS,
TEAMS_EXTENDED, EXTENDED,
ARMORSTANDS; ARMORSTANDS;
public boolean isTeams() { 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: case TEAMS:
cLimit = 16 * 2; cLimit = 16 * 2;
break; break;
case TEAMS_EXTENDED: case EXTENDED:
cLimit = 16 * 3; cLimit = 16 * 3;
break; break;
case ARMORSTANDS: case ARMORSTANDS: