Hm, can you catch ClassCastExceptions and re-create the meta?
I have made a simple plugin for "renting" out furnaces for money. Everything works completely fine until I reload, with a ClassCastException,...
How would one make the plugin load the library?
I figured it out, it's a CraftBukkit bug. Some inventory events are firing. I don't know if it's fixed, but it should be fixed.
I have just discovered Groovy, a language that can best be described as a mix of Java, Python and Ruby. It compiles to Java bytecode (.class...
I'm trying to make a very simple and barebones "shop" system using chest-like custom inventories. I'm using the IconMenu class from the...
Try this: public boolean isHighestBlock(Location loc) { return loc.getWorld().getHighestBlockAt(loc) == loc.getBlock(); } And to use:...
I'm trying to do a chest-based shop plugin using this, but for some reason the onOptionClick function never gets called. The menu opens fine,...
Thing is, the resource never actually changes, it's just a static file residing in the .jar.
Here's the item manager class: https://github.com/Delocaz/CmdX/blob/master/src/me/delocaz/cmdx/api/CXItemManager.java
That returns null too...
Nobody?
I'm working on a quite large general commands plugin (like Essentials or AdminCmd), but there is one hurdle I can't really jump over. Both my...
Bump? This is urgent.
Yeah, I am.
Separate names with a comma.