More warnings resolved.

This commit is contained in:
2023-08-08 07:51:05 +00:00
parent aa836e859d
commit e49f01cd68
8 changed files with 23 additions and 23 deletions

View File

@ -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