diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java index 491942fb00..39c75a9781 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/GenerationCommands.java @@ -309,7 +309,7 @@ public int generate(Actor actor, LocalSession session, EditSession editSession, @Switch(name = 'r', desc = "Use the game's coordinate origin") boolean useRawCoords, @Switch(name = 'o', desc = "Use the placement's coordinate origin") - boolean offset, + boolean offsetPlacement, @Switch(name = 'c', desc = "Use the selection's center as origin") boolean offsetCenter) throws WorldEditException { @@ -319,7 +319,7 @@ public int generate(Actor actor, LocalSession session, EditSession editSession, if (useRawCoords) { zero = Vector3.ZERO; unit = Vector3.ONE; - } else if (offset) { + } else if (offsetPlacement) { zero = session.getPlacementPosition(actor).toVector3(); unit = Vector3.ONE; } else if (offsetCenter) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java index addf03c289..2e24cb8ae1 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java @@ -480,7 +480,7 @@ public int deform(Actor actor, LocalSession session, EditSession editSession, @Switch(name = 'r', desc = "Use the game's coordinate origin") boolean useRawCoords, @Switch(name = 'o', desc = "Use the placement's coordinate origin") - boolean offset, + boolean offsetPlacement, @Switch(name = 'c', desc = "Use the selection's center as origin") boolean offsetCenter) throws WorldEditException { final Vector3 zero; @@ -489,7 +489,7 @@ public int deform(Actor actor, LocalSession session, EditSession editSession, if (useRawCoords) { zero = Vector3.ZERO; unit = Vector3.ONE; - } else if (offset) { + } else if (offsetPlacement) { zero = session.getPlacementPosition(actor).toVector3(); unit = Vector3.ONE; } else if (offsetCenter) {