Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
matsu1213 committed Aug 5, 2024
1 parent a19cc6d commit 8038184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/azisaba/leoncsaddon/WeaponConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void init(){
double reduceDamage = configuration.getDouble(key + ".reduceDamage",0);
double projectileSizeXZ = configuration.getDouble(key + ".projectileSize.xz",0);
double projectileSizeY = configuration.getDouble(key + ".projectileSize.y",0);
String[] allyPotion = configuration.getString(key + ".allypotion").split(",");
String[] allyPotion = configuration.getString(key + ".allypotion", "").split(",");
List<PotionEffect> potionEffectList = new ArrayList<>();

for(int i = 0; i < allyPotion.length; ++i) {
Expand Down

0 comments on commit 8038184

Please sign in to comment.