Updated to beta19

This commit is contained in:
BuildTools 2020-10-03 11:07:46 +01:00
parent 1e8b77bd2b
commit 120149b910
8 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -7,7 +7,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
</parent>
<artifactId>plugin</artifactId>

View File

@ -14,6 +14,7 @@ public final class PacketWindowItems extends AbstractPacketAdapter {
@Override
public void onSend(PacketContainer packet) {
packet.getItemListModifier().modify(0, (itemStacks) -> {
if(itemStacks == null) return null;
itemStacks.forEach(item -> {
boolean hideEnchants = false;

View File

@ -159,6 +159,7 @@ public class Loader {
if(Bukkit.getPluginManager().isPluginEnabled("Essentials")) {
EssentialsManager.registerEssentials(new IntegrationEssentials());
Logger.info("Essentials: §aENABLED");
EssentialsManager.registerEnchantments();
} else {
Logger.info("Essentials: §9DISABLED");
}
@ -315,7 +316,6 @@ public class Loader {
Bukkit.getPluginManager().disablePlugin(EcoEnchantsPlugin.getInstance());
return;
} else {
EssentialsManager.registerEnchantments();
Logger.info(EcoEnchants.getAll().size() + " Enchantments Loaded:");
EcoEnchants.getAll().forEach((ecoEnchant -> {
if(ecoEnchant.getType().equals(EcoEnchant.EnchantmentType.SPECIAL)) {

View File

@ -6,7 +6,7 @@
<groupId>com.willfp.ecoenchants</groupId>
<artifactId>parent</artifactId>
<version>5.0.0-beta17</version>
<version>5.0.0-beta19</version>
<packaging>pom</packaging>
<name>EcoEnchants Parent</name>