Recent content by Brunolator

  1. B

    Question Cannot use Material enum without errors

    Okay, I don't know what I did but I got the plugin to work in game. It turns out that in the command I had some of the arguments mixed up. But the Material class only works in Minecraft and not directly from IntelliJ, how would I fix this?
  2. B

    Question Cannot use Material enum without errors

    Here is the error message in the console for the command in the server. And I should also say that when I made a similar class that didn't use Material, it worked fine, but I need to use the materials for the plugin to have its functionality. [19:46:35 ERROR]: Command exception: /clutchblock...
  3. B

    Question Cannot use Material enum without errors

    Hello, I am making a plugin where I need to use functions like Material.getMaterial. I can import org.bukkit.Material but when I code with it, it doesn't work on my server even though no errors show in IntelliJ. The plugin is enabled on the server but it says an error occurred when trying to...