public void onPlayerJoin(PlayerJoinEvent event)
No worries. Can't touch this.
Wouldn't this be simpler using getDamager() in EntityDamageByEntityEvent?
You didn't pass an event into that event handler (between the brackets after onPlayerJoin).
I'm thinking it has to do with TestqUiz.p.cheaters.get(player) instead of TestqUiz.p.cheaters.get(playerName).
Haha, I'm not sure I'm all that knowledgeable about events, but hey, I try. Based on Giant's comment, I compared your events again to bukkit...
I think I'm mostly grasping at straws here, but the only thing that I noticed was that getHandlerList() is not static. I've noticed that it is in...
Yeah. The CustomPlayer object is the value that is associated with the player name, which is the key. When you remove the key, you will lose the...
Well darn; there goes that theory. I want to be more help, but I'm stuck away from my dev environment so I can't test anything.
I'm guessing that it's probably just a small error with one of the events. I'm guessing this because it looks like the error is (if I understand)...
You can use remove() to remove items from a HashMap. The key would be the player name, which you can get from a PlayerQuitEvent using...
Looking at line 550 of SimplePluginManager makes me think that the issue might be with the custom events you wrote (or at least, the custom event...
I would test some of these things before I post them here, but unfortunately my only resources at the moment are Notepad. Anywho... I'm assuming...
I would say to make sure that, when you create the new Location (where you use plugin), that it is done after you have assigned plugin an instance...
You could write a contructor in your Test class that accepts an instance of TestMain and assigns it to plugin. public Test(TestMain p) {...
Separate names with a comma.