Make the singular type enchantment work as expected

This commit is contained in:
alexcrea 2024-12-24 09:49:12 +01:00
parent 3f6314ad09
commit 050d8bec8f
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
3 changed files with 24 additions and 0 deletions

View file

@ -1,6 +1,7 @@
package com.willfp.ecoenchants.enchantments;
import com.willfp.ecoenchants.enchantments.meta.EnchantmentTarget;
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
import org.bukkit.enchantments.Enchantment;
import org.jetbrains.annotations.NotNull;
@ -19,4 +20,7 @@ public class EcoEnchant {
return null;
}
public EnchantmentType getType() {
return null;
}
}

View file

@ -0,0 +1,9 @@
package com.willfp.ecoenchants.enchantments.meta;
public class EnchantmentType {
public boolean isSingular() {
return false;
}
}