For whatever reason, that worked. Thank you.
Which doesn't make sense, because info.equals("day") returns null, but getConfig().getString("World." + world.getName()) in the final else returns...
No point in catching the exception when the whole purpose of the plugin lies in those few lines of code.
I tried that. It was resulting in a null pointer exception.
So I have this basic function However, that returns false even though the string actually does equal day. I have tried ==, .equals, etc, with...
Knew I was forgetting something. I was being a derp and trying to use getName() after getWorlds() haha. Thanks.
I'm not sure if I'm simply forgetting something or what, but getServer().getWorlds() is returning CraftWorld{name=world}, instead of world. I...
Works. Thanks :)
I just tried running the plugin with the latest craftbukkit dev build, no luck.
So basically I'm just trying to block cobblestone slab usage, however, I can't seem to narrow it down just to cobblestone slabs. I have to use...
RandomBlock Current Version: 1.0 Description A simple plugin that randomly edits your block placements as soon as you place them. For example, if...
Donated for a key yesterday. Just got it. Thanks :)
Server keeps crashing because of Permissions, runs fine without it. Gives me this error: Java HotSpot(TM) Server VM warning: Exception...
Separate names with a comma.