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'
archivesBaseName = project.name
version = findProperty("version")
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.sourceCompatibility = JavaVersion.VERSION_11
compileJava.options.encoding = 'UTF-8'

View File

@ -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()) {