mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Replace code with hasFlag() where appropriate.
This commit is contained in:
@ -180,7 +180,7 @@ public final class Flags {
|
||||
}
|
||||
});
|
||||
PlotSquared.get().forEachPlotRaw(value -> {
|
||||
if (value.getFlags().containsKey(duplicate)) {
|
||||
if (value.hasFlag(duplicate)) {
|
||||
Object remove = value.getFlags().remove(duplicate);
|
||||
try {
|
||||
if (remove instanceof Collection
|
||||
|
Reference in New Issue
Block a user