mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
fix: only send invalid region messages with debug true (#2238)
- Addresses #2188
This commit is contained in:
parent
7c01c1e95e
commit
435161d566
@ -130,7 +130,9 @@ public class WEManager {
|
|||||||
backupRegions.add(region);
|
backupRegions.add(region);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
player.print(Caption.of("fawe.error.region-mask-invalid", mask.getClass().getSimpleName()));
|
if (Settings.settings().ENABLED_COMPONENTS.DEBUG) {
|
||||||
|
player.printDebug(Caption.of("fawe.error.region-mask-invalid", mask.getClass().getSimpleName()));
|
||||||
|
}
|
||||||
removed = true;
|
removed = true;
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user