Create a boolean. When the owner starts sandfall, set it to true. Then, in onCommand check if the argument is join and the boolean is true, and...
If I had to guess, you (or any player for that matter) is in the world when it's being unloaded. I'm sure this is something that bukkit prevents...
sqrt((player1x - player2x)^2 + (player1z-player2z)^2) <= 5000 Or what minoneer said.
You are creating two separate instances of CustomPlayer and expecting them to be the same (and not passing a player to your first instance?). How...
This plugin is basically going to allow players to bind items to their "soul". Once bound, the item is kept on death. I'll probably add in vault...
I also made playerDeath static. Now I'm only getting 1 NPE in my PlayerRespawn class. The error is on line 32 where it says "for (ItemStack item...
Okay, I moved it so it looks like: public static HavocBind plugin; public static Bind...
I know this bug must be simple, because when I move the code out of my event listener classes, and just put all the code in my bind class it...
I'm still trying to learn java and such, and I think I'm doing fairly well. But I can't seem to figure out what the problem with my onCommand is....
Solved.
Separate names with a comma.