Removed extra spaces

This commit is contained in:
kireevm96 2021-03-11 11:12:31 +03:00
parent 6b39894089
commit fa0268fa37
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ jar {
group = 'com.willfp' group = 'com.willfp'
archivesBaseName = project.name archivesBaseName = project.name
version = findProperty("version") version = findProperty("version")
java.sourceCompatibility = JavaVersion.VERSION_1_8 java.sourceCompatibility = JavaVersion.VERSION_11
compileJava.options.encoding = 'UTF-8' compileJava.options.encoding = 'UTF-8'

View File

@ -177,11 +177,11 @@ public class VillagerListeners extends PluginDependent implements Listener {
if (enchant.conflictsWith(enchantment)) { if (enchant.conflictsWith(enchantment)) {
anyConflicts.set(true); anyConflicts.set(true);
} }
if (enchantment.conflictsWith(enchant)) { if (enchantment.conflictsWith(enchant)) {
anyConflicts.set(true); anyConflicts.set(true);
} }
EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant); EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant);
if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) { if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) {