Added disable-in-worlds
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ general-config:
|
||||
- leggings
|
||||
- boots
|
||||
grindstoneable: true
|
||||
disabled-in-worlds: []
|
||||
conflicts: []
|
||||
maximum-level: 6
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
name: Alchemy
|
||||
main: com.willfp.ecoenchants.alchemy.AlchemyMain
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
Reference in New Issue
Block a user