Use extended not extended_teams
This commit is contained in:
		| @@ -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; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user