mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-23 05:41:19 +01:00
Updated to beta19
This commit is contained in:
parent
1e8b77bd2b
commit
120149b910
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user