This commit is contained in:
Ajneb97 2024-06-02 17:48:46 -04:00
parent fb79222c98
commit eba91312f3
2 changed files with 4 additions and 1 deletions

View file

@ -240,6 +240,9 @@ public class KitsManager {
for(KitItem item : items){
if(kit.isAutoArmor()){
String id = item.getId();
if(item.getOriginalItem() != null){
id = item.getOriginalItem().getType().name();
}
//Check if the item must be put in the player equipment
if((id.contains("_HELMET") || id.contains("PLAYER_HEAD") || id.contains("SKULL_ITEM")) && itemHelmet == null && (playerInventory.getHelmet() == null

View file

@ -1,5 +1,5 @@
main: pk.ajneb97.PlayerKits2
version: 1.11.3
version: 1.11.4
name: PlayerKits2
api-version: 1.13
softdepend: [Vault,PlaceholderAPI]