3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

chore: Add missing Fawe annotations to //regen command

Dieser Commit ist enthalten in:
NotMyFault 2022-01-19 13:58:52 +01:00
Ursprung 4d2a34fd21
Commit d17e3a6555
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -696,8 +696,10 @@ public class RegionCommands {
boolean success;
try {
session.setMask(null);
//FAWE start
session.setSourceMask(null);
actor.print(Caption.of("fawe.regen.time"));
//FAWE end
RegenOptions options = RegenOptions.builder()
.seed(seed)
.regenBiomes(regenBiomes)
@ -706,7 +708,9 @@ public class RegionCommands {
success = world.regenerate(region, editSession, options);
} finally {
session.setMask(mask);
//FAWE start
session.setSourceMask(mask);
//FAWE end
}
if (success) {
actor.print(Caption.of("worldedit.regen.regenerated"));