Added disable-in-worlds

This commit is contained in:
Auxilor
2020-12-06 10:44:39 +00:00
parent e6da1c58cd
commit dee8c2ce4d
305 changed files with 406 additions and 303 deletions

View File

@@ -33,6 +33,7 @@ public class Alchemy extends EcoEnchant {
if(!EnchantmentUtils.passedChance(this, level))
return;
if(this.getDisabledWorlds().contains(entity.getWorld())) return;
PotionEffect effect = event.getNewEffect();

View File

@@ -19,6 +19,7 @@ general-config:
- leggings
- boots
grindstoneable: true
disabled-in-worlds: []
conflicts: []
maximum-level: 6

View File

@@ -1,3 +1,3 @@
name: Alchemy
main: com.willfp.ecoenchants.alchemy.AlchemyMain
version: 1.0.0
version: 1.0.1