Skip to content

Commit

Permalink
Merge pull request #13 from MCME/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
EriolEandur committed Apr 25, 2020
2 parents 70c69d8 + 697b911 commit d68f2ef
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Version 2.0
*BREAKING*: Moved towards MineCraft 1.15

# Version 1.0
Primary Release
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.mcmiddleearth</groupId>
<artifactId>plugin-dynamic-books</artifactId>
<version>1.0.0</version>
<version>2.0</version>
<packaging>jar</packaging>

<name>Dynamic Books for MCME</name>
Expand Down Expand Up @@ -118,7 +118,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.14.4-R0.1-SNAPSHOT</version>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public Collection<String> getExamples() {

@Override
public <S> CompletableFuture<Suggestions> listSuggestions(final CommandContext<S> context, final SuggestionsBuilder builder) {
Logger.getGlobal().info("CommandBookArgument Start");
for (String option : options) {
if (option.toLowerCase().startsWith(builder.getRemaining().toLowerCase())) {
builder.suggest(option);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ public Collection<String> getExamples() {

@Override
public <S> CompletableFuture<Suggestions> listSuggestions(final CommandContext<S> context, final SuggestionsBuilder builder) {
Logger.getGlobal().info("CommandStringArgument Start");
for (String option : options) {
if (option.toLowerCase().startsWith(builder.getRemaining().toLowerCase())) {
builder.suggest(option);
}
}
Logger.getGlobal().info("CommandStringArgument Stop");
return builder.buildFuture();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.03.22 at 08:32:12 PM CET
// Generated on: 2020.03.31 at 07:55:34 PM CEST
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.03.22 at 08:32:12 PM CET
// Generated on: 2020.03.31 at 07:55:34 PM CEST
//


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.03.22 at 08:32:12 PM CET
// Generated on: 2020.03.31 at 07:55:34 PM CEST
//


Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: DynamicBooks
version: ${project.version}
main: com.mcmiddleearth.plugins.dynamicbooks.DynamicBooksPlugin
api-version: 1.13
api-version: 1.15
authors: [Quazor]
description: Provides dynamic books to the mcme universe

Expand Down

0 comments on commit d68f2ef

Please sign in to comment.