From fa0268fa375b1e5ff7b1282f35922009136a863b Mon Sep 17 00:00:00 2001 From: kireevm96 Date: Thu, 11 Mar 2021 11:12:31 +0300 Subject: [PATCH] Removed extra spaces --- build.gradle | 2 +- .../enchantments/support/obtaining/VillagerListeners.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index fa24f685..86261107 100644 --- a/build.gradle +++ b/build.gradle @@ -96,7 +96,7 @@ jar { group = 'com.willfp' archivesBaseName = project.name version = findProperty("version") -java.sourceCompatibility = JavaVersion.VERSION_1_8 +java.sourceCompatibility = JavaVersion.VERSION_11 compileJava.options.encoding = 'UTF-8' diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/obtaining/VillagerListeners.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/obtaining/VillagerListeners.java index 76972cd3..e60d71ab 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/obtaining/VillagerListeners.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/obtaining/VillagerListeners.java @@ -177,11 +177,11 @@ public class VillagerListeners extends PluginDependent implements Listener { if (enchant.conflictsWith(enchantment)) { anyConflicts.set(true); } - + if (enchantment.conflictsWith(enchant)) { anyConflicts.set(true); } - + EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant); if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) {