| 1 | package sh.okx.rankup.requirements; | |
| 2 | ||
| 3 | import org.bukkit.entity.Player; | |
| 4 | ||
| 5 | public class NullRequirement extends Requirement { | |
| 6 | public NullRequirement() { | |
| 7 | super(null, null); | |
| 8 | } | |
| 9 | ||
| 10 | @Override | |
| 11 | public boolean check(Player player) { | |
| 12 |
1
1. check : replaced boolean return with true for sh/okx/rankup/requirements/NullRequirement::check → NO_COVERAGE |
return false; |
| 13 | } | |
| 14 | ||
| 15 | @Override | |
| 16 | public Requirement clone() { | |
| 17 |
1
1. clone : replaced return value with null for sh/okx/rankup/requirements/NullRequirement::clone → NO_COVERAGE |
return this; |
| 18 | } | |
| 19 | ||
| 20 | @Override | |
| 21 | public double getTotal(Player player) { | |
| 22 | return 0; | |
| 23 | } | |
| 24 | } | |
Mutations | ||
| 12 |
1.1 |
|
| 17 |
1.1 |