Added debug enchantment classes and updated eco

This commit is contained in:
Auxilor 2021-01-05 09:10:01 +00:00
parent ad8df3ed55
commit 697701801a
4 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ plugins {
dependencies { dependencies {
implementation project(":eco-core").getSubprojects() implementation project(":eco-core").getSubprojects()
implementation 'com.willfp:eco:1.0.4' implementation 'com.willfp:eco:1.0.5'
} }
allprojects { allprojects {

View File

@ -3,6 +3,6 @@ version rootProject.version
subprojects { subprojects {
dependencies { dependencies {
compileOnly 'com.willfp:eco:1.0.3' compileOnly 'com.willfp:eco:1.0.5'
} }
} }

View File

@ -78,7 +78,8 @@ public class CommandEcodebug extends AbstractCommand {
List<Enchantment> extern = Arrays.stream(Enchantment.values()).collect(Collectors.toList()); List<Enchantment> extern = Arrays.stream(Enchantment.values()).collect(Collectors.toList());
extern.removeAll(EcoEnchants.values().stream().map(EcoEnchant::getEnchantment).collect(Collectors.toList())); extern.removeAll(EcoEnchants.values().stream().map(EcoEnchant::getEnchantment).collect(Collectors.toList()));
this.getPlugin().getLog().info("External/Vanilla Enchantments: " + extern.toString()); String external = extern.stream().map(enchantment -> "{" + enchantment.toString() + ", Provider: " + enchantment.getClass().toString() + "}").collect(Collectors.joining(", "));
this.getPlugin().getLog().info("External/Vanilla Enchantments: " + external);
this.getPlugin().getLog().info(""); this.getPlugin().getLog().info("");
List<Enchantment> uncached = Arrays.stream(Enchantment.values()).collect(Collectors.toList()); List<Enchantment> uncached = Arrays.stream(Enchantment.values()).collect(Collectors.toList());

View File

@ -5,7 +5,7 @@ subprojects {
dependencies { dependencies {
compileOnly project(":eco-core:core-plugin") compileOnly project(":eco-core:core-plugin")
compileOnly project(":eco-core:core-proxy") compileOnly project(":eco-core:core-proxy")
compileOnly 'com.willfp:eco:1.0.3' compileOnly 'com.willfp:eco:1.0.5'
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT' compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
} }