Coder Social home page Coder Social logo

Comments (11)

Yukun99 avatar Yukun99 commented on June 9, 2024

The < at the end is not in the original file.

from crazyenchantments.

badbones69 avatar badbones69 commented on June 9, 2024

Next time please put files like this in pastebin. You can not have an enchantment name with a Space.
Name: 'Nature Wrath'

from crazyenchantments.

badbones69 avatar badbones69 commented on June 9, 2024

@Yukun99 Please tell me if this fixed it. If so close the issue. Other wise please tell me if your still having problems.

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

Alright trying it now, give me a moment haha, I just updated the plugin :P

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

I'm getting this error now :P
[21:12:37] [Server thread/ERROR]: Could not pass event InventoryClickEvent to SwarmEnchantments v1.5.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91] Caused by: java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_91] at me.BadBones69.CrazyEnchantments.ECControl.Enchants(ECControl.java:37) ~[?:?] at me.BadBones69.CrazyEnchantments.ECControl.pick(ECControl.java:160) ~[?:?] at me.BadBones69.CrazyEnchantments.GUI.onInvClick(GUI.java:150) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 15 more

from crazyenchantments.

badbones69 avatar badbones69 commented on June 9, 2024

You are going to need to upload your code to Github or something so i can see your lines. But from what I am looking at it looks like something in your config mite be missing. Check line 160 in ECControl.java of your code.

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

Ok, I'm uploading... there are some weird class files when I just copy paste the code out though haha

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

Like, there are weird class files in the file system :P

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

The zipped one is here:
https://www.dropbox.com/s/jrbj3lthr1k4cxv/SourceCode.zip?dl=0
The whole system if you want to view before downloading is here:
https://www.dropbox.com/sh/c6oav4ojaozegii/AABEHGaX67vdbT0xHl4fT5Lta?dl=0

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

Do help me check my guardians code too :P, it might be what's killing the plugin D:

from crazyenchantments.

Yukun99 avatar Yukun99 commented on June 9, 2024

So this works now... weird, but normal enchants don't work, that thread is already here, so I'll close this one :D

from crazyenchantments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.