forked from SteamWar/SteamWar
@@ -55,7 +55,7 @@ public class PersonalKit {
|
||||
|
||||
public ItemStack[] getArmor(){
|
||||
YamlConfiguration config = YamlConfiguration.loadConfiguration(new StringReader(getRawArmor()));
|
||||
return Objects.requireNonNull(config.getList("Armor")).toArray(new ItemStack[0]);
|
||||
return Objects.requireNonNull(config.getList("Armor")).toArray(new ItemStack[4]);
|
||||
}
|
||||
|
||||
public void setInUse() {
|
||||
|
||||
Reference in New Issue
Block a user