Fixed small issue with default long_sword.yml

This commit is contained in:
Jules 2024-10-23 18:14:34 +02:00
parent 293d3bc436
commit 3ae536bbd2
2 changed files with 0 additions and 2 deletions

View File

@ -52,7 +52,6 @@ public class ItemParticles extends ItemStat<ParticleData, ParticleData> {
@Override
public ParticleData whenInitialized(Object object) {
Validate.isTrue(object instanceof ConfigurationSection, "Must specify a config section");
if (((ConfigurationSection) object).getKeys(false).size() < 1) { throw new IllegalArgumentException(""); }
return new ParticleData((ConfigurationSection) object);
}

View File

@ -33,7 +33,6 @@ DUAL_LONGSWORD:
perm-effects:
SPEED: 1.0
SLOW: 1.0
item-particles: {}
ability:
ability1:
type: HOLY_MISSILE