RANDOMPACKAGE custom enchants BROKEN

Discussion in 'Spigot Plugin Help' started by GodKillzDaily, Mar 31, 2020.

  1. Hello, I am having a lot of trouble with the plugin random package. Whenever I hit someone with a sword with any custom enchants on it, it generates this error:

    Also, My server is spigot 1.15 and I am running the latest version of random package. I installed all the depend plugins and soft depend plugins needed. I haven't edited any config, so nothing should be wrong.

    Code (Text):

    [RandomPackage] ERROR Custom Enchant with identifier LEADERSHIP generated an attribute error! (16.5.9)
    [17:56:48] [Server thread/WARN]: java.lang.RuntimeException: Unexpected: D
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.addon.util.Mathable$1.parseFactor(Mathable.java:74)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.addon.util.Mathable$1.parseTerm(Mathable.java:44)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.addon.util.Mathable$1.parseExpression(Mathable.java:35)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.addon.util.Mathable$1.parse(Mathable.java:24)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.addon.util.Mathable.evaluate(Mathable.java:81)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attribute.SetDamage.execute(SetDamage.java:20)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attributesys.EventExecutor.executeAll(EventExecutor.java:212)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attributesys.EventExecutor.executeAll(EventExecutor.java:155)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attributesys.EventExecutor.tryGeneric(EventExecutor.java:337)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attributesys.EventExecutor.trigger(EventExecutor.java:355)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.attributesys.EventExecutor.triggerCustomEnchants(EventExecutor.java:426)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.triggerEnchants(CustomEnchants.java:937)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.triggerEnchants(CustomEnchants.java:920)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.triggerEnchants(CustomEnchants.java:917)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.triggerEnchants(CustomEnchants.java:914)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.triggerEnchants(CustomEnchants.java:911)
    [17:56:48] [Server thread/WARN]: at me.randomhashtags.randompackage.api.CustomEnchants.entityDamageByEntityEvent(CustomEnchants.java:419)
    [17:56:48] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor216.invoke(Unknown Source)
    [17:56:48] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [17:56:48] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [17:56:48] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316)
    [17:56:48] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [17:56:48] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529)
    [17:56:48] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514)
    [17:56:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:230)
    [17:56:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:923)
    [17:56:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:810)
    [17:56:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:766)
    [17:56:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:955)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity0(EntityLiving.java:1624)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityHuman.damageEntity0(EntityHuman.java:862)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity(EntityLiving.java:1028)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityHuman.damageEntity(EntityHuman.java:785)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityPlayer.damageEntity(EntityPlayer.java:659)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityHuman.attack(EntityHuman.java:1085)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.EntityPlayer.attack(EntityPlayer.java:1545)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1878)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInUseEntity.a(SourceFile:68)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PacketPlayInUseEntity.a(SourceFile:13)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeAll(SourceFile:103)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:894)
    [17:56:48] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828)
    [17:56:48] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)