mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Fix plot done success flag being false when complexity is higher than… (#4040)
Fix plot done success flag being false when complexity is higher than the threshold Co-authored-by: MrJoshuaT <josh@jmt.me>
This commit is contained in:
parent
e914cb210e
commit
c656190e14
@ -103,7 +103,7 @@ public class Done extends SubCommand {
|
||||
public void run(PlotAnalysis value) {
|
||||
plot.removeRunning();
|
||||
boolean result =
|
||||
value.getComplexity(doneRequirements) <= doneRequirements.THRESHOLD;
|
||||
value.getComplexity(doneRequirements) >= doneRequirements.THRESHOLD;
|
||||
finish(plot, player, result);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user