removed misplaced utility method
This commit is contained in:
parent
46c5706375
commit
1d81304658
@ -57,20 +57,4 @@ class VoteRatio extends AbstractStructure
|
|||||||
{
|
{
|
||||||
return is_float($ratio) && ($ratio === -1. || ($ratio >= 0. && $ratio <= 1.));
|
return is_float($ratio) && ($ratio === -1. || ($ratio >= 0. && $ratio <= 1.));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
static function getCommands()
|
|
||||||
{
|
|
||||||
return array(self::COMMAND_DEFAULT => 'Default',
|
|
||||||
self::COMMAND_RESTART_MAP => 'Restart Map',
|
|
||||||
self::COMMAND_NEXT_MAP => 'Skip Map',
|
|
||||||
self::COMMAND_SET_NEXT_MAP => 'Set next Map',
|
|
||||||
self::COMMAND_JUMP_MAP => 'Jump to Map',
|
|
||||||
self::COMMAND_TEAM_BALANCE => 'Balance Teams',
|
|
||||||
self::COMMAND_SCRIPT_SETTINGS => 'Change Script Settings and Commands',
|
|
||||||
self::COMMAND_KICK => 'Kick Players',
|
|
||||||
self::COMMAND_BAN => 'Ban Players');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user