Apply API changes to events

This commit is contained in:
Hannes Greule
2020-02-18 18:56:02 +01:00
parent 161bf3db23
commit 9adaa4ae79
6 changed files with 84 additions and 49 deletions

View File

@ -1085,6 +1085,15 @@ public class Plot {
PlotAnalysis.analyzePlot(this, whenDone);
}
/**
* Gets all flags applied to this plot
*
* @return all applied flags
*/
public Set<PlotFlag<?, ?>> getFlags() {
return ImmutableSet.copyOf(flagContainer.getFlagMap().values());
}
/**
* Sets a flag for this plot
*