Skip to content

Commit

Permalink
Fixed overrideCommands not being set to the user provided value
Browse files Browse the repository at this point in the history
  • Loading branch information
vaperion committed Jun 19, 2021
1 parent cf24ad5 commit 1ba336a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Maven
<dependency>
<groupId>com.github.vaperion</groupId>
<artifactId>blade</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand All @@ -38,7 +38,7 @@ allprojects {
}
dependencies {
implementation 'com.github.vaperion:blade:1.2.0'
implementation 'com.github.vaperion:blade:1.2.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.vaperion</groupId>
<artifactId>blade</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/vaperion/blade/Blade.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static BladeBuilder of() {
public Blade build() {
Blade blade = super.build();

blade.commandService.setOverrideCommands(true);
blade.commandService.setOverrideCommands(blade.overrideCommands);

if (blade.containerCreator == null)
throw new NullPointerException();
Expand Down

0 comments on commit 1ba336a

Please sign in to comment.