Skip to content

Commit 5b1d63c

Browse files
committed
fix typo in config
1 parent cc266ed commit 5b1d63c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/dev/upcraft/soulbound/SoulboundEnchantment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public boolean isAcceptableItem(ItemStack stack) {
4040

4141
@Override
4242
public boolean isTreasure() {
43-
return Soulbound.CONFIG.get().soulboundIsTresureEnchantment;
43+
return Soulbound.CONFIG.get().soulboundIsTreasureEnchantment;
4444
}
4545
}

src/main/java/dev/upcraft/soulbound/core/SoulboundConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class SoulboundConfig implements ConfigData {
1010

1111
public double soulboundPreservationRate = 1.0F;
1212
public double soulboundDropChance = 0.0F;
13-
public boolean soulboundIsTresureEnchantment = false;
13+
public boolean soulboundIsTreasureEnchantment = false;
1414

1515
@Override
1616
public void validatePostLoad() throws ValidationException {

0 commit comments

Comments
 (0)