Skip to content

Commit

Permalink
Reduce code duplication in command-api-v2 (sponge) by introducing a c…
Browse files Browse the repository at this point in the history
…ommon sub-module and fix some formatting issues (#181)

* Update Lomm

* First round of command classes

* Second round of shared classes

* Mixins clean up

* Bump modules version

* Fix some formatting issues

* Fix more formatting issues

* Fix style
  • Loading branch information
thecatcore authored Dec 6, 2024
1 parent a99bee8 commit b3da594
Show file tree
Hide file tree
Showing 159 changed files with 259 additions and 8,299 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id "eclipse"
id "idea"
id "maven-publish"
id "fabric-loom" version "1.8.11" apply false
id "fabric-loom" version "1.8.13" apply false
id "legacy-looming" version "1.8.2" apply false
id "com.diffplug.spotless" version "6.20.0"
id "org.ajoberstar.grgit" version "5.2.2"
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings_build = 530
## Module versions
legacy-fabric-api-base.version = 1.1.0
legacy-fabric-command-api-v1.version = 1.0.1
legacy-fabric-command-api-v2.version = 1.0.2
legacy-fabric-command-api-v2.version = 1.1.0
legacy-fabric-crash-report-info-v1.version = 1.0.0
legacy-fabric-entity-events-v1.version = 1.0.0
legacy-fabric-gamerule-api-v1.version = 1.0.0
Expand All @@ -17,7 +17,7 @@ legacy-fabric-keybindings-api-v1.version = 1.1.1
legacy-fabric-lifecycle-events-v1.version = 1.1.0
legacy-fabric-logger-api-v1.version = 1.0.4
legacy-fabric-networking-api-v1.version = 2.0.2
legacy-fabric-permissions-api-v1.version = 1.1.0
legacy-fabric-permissions-api-v1.version = 1.1.1
legacy-fabric-registry-sync-api-v1.version = 2.2.0
legacy-fabric-rendering-api-v1.version = 1.0.0
legacy-fabric-resource-loader-v1.version = 2.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public Text getUsage(PermissibleCommandSource src) {

if (usage.asUnformattedString().trim().length() > 0) {
builder.add(" ");
builder.add(usage);
builder.add(usage.asUnformattedString());
}

builder.add("]");
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b3da594

Please sign in to comment.