Fair enough. Can't think of how it'd throw an NPE, but I'll take your word for it XD
I didn't think Bukkit did, but rather Essentials does
His BlockBreakHandler was initialized on every PlayerJoinEvent prior to him editing the code, which was blanking out his HashMap that was stored...
Yeah, I'm assuming you mean over /reload, but I mealt this a bit differently. I think there was a HashMap in a class that was initialized on...
Yeah, I think it's fine since they're always going to be the same object, not being something that can be instantiated or re-assigned. Although it...
Don't use ==, use .equalsIgnoreCase() or .equals() if you need the case-sensitivity. There IS a difference. The '==' checks if non primitive data...
Use the scheduler as you have been and use the remove() method for the Sheep. Note that when accessing variables outside a scheduler block from...
You may make sure that another plugin isn't cancelling spawn events for entities. Primarily WorldGuard or Multiverse
Not likely. The sheep's color doesn't technically change, it's a client-side effect, but the sheep's color is technically always the same. The...
Why are you initializing a scheduler variable, then trying to get one by initializing the NyanSheep class? You probably want to do...
If you wrap that in and it's a bit easier to read XD Also, 20L is one second in ticks. 10L is half a second.
Posting your attempt is usually preferable, to help us understand what you've managed so far. I'd say yes, although this forum community is...
Not tested, but I would likely have a method to fetch a random int, and get a value from DyeColor.values() using that int. i.e. DyeColor...
World#spawnEntity(Location, EntityType) to spawn the sheep, which will return an Entity. Cast it to a Sheep and use the Sheep#setColor(DyeColor)...
That depends on the plugin. Not familiar with PermissionsBukkit (what he said he used), but I know that GroupManager can optionally give Op all perms.
Separate names with a comma.