@@ -136,6 +136,7 @@ public int set(
136136 @ CommandPermissions ("worldedit.region.set" )
137137 @ Logging (REGION )
138138 @ Preload (Preload .PreloadCheck .PRELOAD )
139+ @ Confirm (Confirm .Processor .REGION )
139140 public void air (Actor actor , EditSession editSession , @ Selection Region region ) throws WorldEditException {
140141 set (actor , editSession , region , BlockTypes .AIR );
141142 }
@@ -161,6 +162,7 @@ public void test(
161162 desc = "Get the light at a position"
162163 )
163164 @ CommandPermissions ("worldedit.light.fix" )
165+ @ Confirm (Confirm .Processor .REGION )
164166 public void fixLighting (Actor actor , LocalSession session , @ Selection Region selection ) throws WorldEditException {
165167 int count = FaweAPI .fixLighting (session .getSelectionWorld (), selection , null , RelightMode .ALL );
166168 actor .print (Caption .of ("fawe.info.lighting.propagate.selection" , count ));
@@ -172,6 +174,7 @@ public void fixLighting(Actor actor, LocalSession session, @Selection Region sel
172174 desc = "Removing lighting in a selection"
173175 )
174176 @ CommandPermissions ("worldedit.light.remove" )
177+ @ Confirm (Confirm .Processor .REGION )
175178 public void removeLighting (Actor actor , LocalSession session , @ Selection Region selection ) {
176179 int count = FaweAPI .fixLighting (session .getSelectionWorld (), selection , null , RelightMode .NONE );
177180 actor .print (Caption .of ("fawe.info.updated.lighting.selection" , count ));
@@ -207,6 +210,7 @@ public void nbtinfo(Player player, EditSession editSession) {
207210 desc = "Set block lighting in a selection"
208211 )
209212 @ CommandPermissions ("worldedit.light.set" )
213+ @ Confirm (Confirm .Processor .REGION )
210214 public void setlighting (Actor actor , EditSession editSession , @ Selection Region region ) {
211215 actor .print (Caption .of ("fawe.info.light-blocks" ));
212216 }
@@ -217,6 +221,7 @@ public void setlighting(Actor actor, EditSession editSession, @Selection Region
217221 desc = "Set sky lighting in a selection"
218222 )
219223 @ CommandPermissions ("worldedit.light.set" )
224+ @ Confirm (Confirm .Processor .REGION )
220225 public void setskylighting (Actor actor , @ Selection Region region ) {
221226 actor .print (Caption .of ("fawe.info.light-blocks" ));
222227 }
@@ -228,6 +233,7 @@ public void setskylighting(Actor actor, @Selection Region region) {
228233 )
229234 @ CommandPermissions ("worldedit.region.line" )
230235 @ Logging (REGION )
236+ @ Confirm (Confirm .Processor .REGION )
231237 @ SynchronousSettingExpected
232238 public int line (
233239 Actor actor , EditSession editSession ,
@@ -376,6 +382,7 @@ public void lay(
376382 )
377383 @ Logging (REGION )
378384 @ CommandPermissions ("worldedit.region.center" )
385+ @ Confirm (Confirm .Processor .REGION )
379386 @ SynchronousSettingExpected
380387 public int center (
381388 Actor actor , EditSession editSession , @ Selection Region region ,
@@ -632,6 +639,7 @@ public void fall(
632639 )
633640 @ CommandPermissions ("worldedit.region.stack" )
634641 @ Preload (Preload .PreloadCheck .PRELOAD )
642+ @ Confirm (Confirm .Processor .REGION )
635643 @ SynchronousSettingExpected
636644 @ Logging (ORIENTATION_REGION )
637645 public int stack (
0 commit comments