cancelVote();\r
return;\r
}\r
+\r
+ plugin.getLogger().info("Debugging: yesVoters.size() = " + yesVoters.size() );\r
+ plugin.getLogger().info("Debugging: getRequired() = " + getRequired() );\r
+ plugin.getLogger().info("Debugging: getOnlinePlayers - 1 = " + (plugin.getServer().getOnlinePlayers().length - 1) );\r
+ plugin.getLogger().info("Debugging: ratio = " + ( (float) yesVoters.size() / (float) (plugin.getServer().getOnlinePlayers().length - 1) ) );\r
+\r
//if( checkRatio( ) )\r
- if ( ((float) yesVoters.size() / (float) plugin.getServer().getOnlinePlayers().length -1 ) >= getRequired() )\r
+ if ( ((float) yesVoters.size() / (float) (plugin.getServer().getOnlinePlayers().length - 1) ) >= getRequired() )\r
{\r
plugin.getLogger().info("Debugging: after removing vote, ratio test returns TRUE, applying vote");\r
applyVote( voteType );\r