mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-20 09:11:21 +01:00
Old AE API repo has recieved changes, and although it works withMMOItems still, it throws console errors.
https://gitlab.com/phoenix-dvpmt/mmoitems/-/issues/1060 Unsure if I need to upload the API jar into a libs folder on MMOItems repo.
This commit is contained in:
parent
ecf8fda224
commit
e147257bab
@ -195,13 +195,13 @@
|
||||
<version>master</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- AE Api -->
|
||||
<dependency>
|
||||
<groupId>n3kas</groupId>
|
||||
<artifactId>ae.api</artifactId>
|
||||
<version>5.7.6</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- AE Api [Outdated] -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>n3kas</groupId>-->
|
||||
<!-- <artifactId>ae.api</artifactId>-->
|
||||
<!-- <version>5.7.6</version>-->
|
||||
<!-- <scope>provided</scope>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- BossShop -->
|
||||
<dependency>
|
||||
<groupId>org.black_ixx</groupId>
|
||||
|
@ -16,7 +16,7 @@ public class AdvancedEnchantmentsHook implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onEnchantApply(EnchantApplyEvent event) {
|
||||
NBTItem item = MythicLib.plugin.getVersion().getWrapper().getNBTItem(event.getItem());
|
||||
NBTItem item = MythicLib.plugin.getVersion().getWrapper().getNBTItem(event.getItemStack());
|
||||
if (item.getBoolean("MMOITEMS_DISABLE_ADVANCED_ENCHANTS"))
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user