Skip to content

Commit 94cf915

Browse files
committed
Update supported versions docs for the ALLOW_ATTACK_AND_USE option
1 parent df300fe commit 94cf915

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

api/src/main/java/com/lunarclient/apollo/module/combat/CombatModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ public final class CombatModule extends ApolloModule {
4949

5050
/**
5151
* Whether the player can attack and use an item at the same time,
52-
* like in 1.7. Only applies to players on 1.8.
52+
* like in 1.7. Applies to all versions 1.8 and above.
5353
*
5454
* @since 1.2.8
5555
*/
5656
public static final SimpleOption<Boolean> ALLOW_ATTACK_AND_USE = Option.<Boolean>builder()
57-
.comment("Set to 'true' to allow attacking and using an item at the same time on 1.8, otherwise 'false'.")
57+
.comment("Set to 'true' to allow attacking and using an item at the same time on all versions 1.8 and above, otherwise 'false'.")
5858
.node("allow-attack-and-use").type(TypeToken.get(Boolean.class))
5959
.defaultValue(false).notifyClient().build();
6060

docs/developers/modules/combat.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Callout, Tab, Tabs } from 'nextra-theme-docs'
77
The combat module allows you to modify certain aspects of combat that are usually handled client-sided.
88

99
- Adds the ability to disable the miss penalty, on all versions 1.8 and above.
10-
- Adds the ability to attack and use an item at the same time, like in 1.7, for players on 1.8.
10+
- Adds the ability to attack and use an item at the same time, like in 1.7, on all versions 1.8 and above.
1111

1212
### Sample Code
1313
Explore each integration by cycling through each tab, to find the best fit for your requirements and needs.
@@ -112,7 +112,7 @@ public void setAllowAttackAndUse(boolean value) {
112112
- Type: `Boolean`
113113
- Default: `false`
114114
- __`ALLOW_ATTACK_AND_USE`__
115-
- Whether the player can attack and use an item at the same time, like in 1.7. Only applies to players on 1.8.
115+
- Whether the player can attack and use an item at the same time, like in 1.7. Applies to all versions 1.8 and above.
116116
- Values
117117
- Type: `Boolean`
118118
- Default: `false`

0 commit comments

Comments
 (0)