We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c13d9 commit ad623adCopy full SHA for ad623ad
core/src/main/java/tc/oc/pgm/flag/state/Respawning.java
@@ -56,7 +56,7 @@ protected Duration getDuration() {
56
public void enterState() {
57
super.enterState();
58
59
- if (Duration.ZERO.equals(respawnTime) || this.flag.getMatch().getPhase() == MatchPhase.FINISHED)
+ if (Duration.ZERO.equals(respawnTime) || this.flag.getMatch().isFinished())
60
return;
61
62
// Respawn is delayed
@@ -90,7 +90,7 @@ protected void respawn(Component message) {
90
91
@Override
92
protected boolean canSeeParticles(Player player) {
93
- return this.flag.getMatch().getPhase() != MatchPhase.FINISHED;
+ return !this.flag.getMatch().isFinished();
94
}
95
96
0 commit comments