Cleaned up dead code and updated to compile successfully against bukkit 1.7.10

Because of getOnlinePlayers() changes in 1.7.10, the source required updating in order to compile successfully.