mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
More warnings resolved.
This commit is contained in:
@ -6,11 +6,6 @@ class PartialPlay
|
||||
{
|
||||
public static function getPartialPlayPercentage(Player $player): float
|
||||
{
|
||||
// If the player doesn't support the interface, assume 1.0 == 100%
|
||||
if (! $player instanceof ISupportPartialPlay) {
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
$partialPlayPercentage = $player->getPartialPlayPercentage();
|
||||
|
||||
// HACK to get around bug near 0
|
||||
|
Reference in New Issue
Block a user