Skip to content

Commit

Permalink
- Use local version to build.
Browse files Browse the repository at this point in the history
- Fix mod / plugin issue (NetHandlerPlayServer, PlayerAdvancements).
  • Loading branch information
KasumiNova committed Jun 3, 2024
1 parent f79d9c1 commit 622da1c
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 78 deletions.
12 changes: 7 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ def details = versionDetails()

group 'com.cleanroommc'

version details.lastTag + (project.hasProperty("release") ?
"" : ("+build." + details.commitDistance + (project.hasProperty("run_number") ?
(".run." + props.run_number) : "")))
//version details.lastTag + (project.hasProperty("release") ?
// "" : ("+build." + details.commitDistance + (project.hasProperty("run_number") ?
// (".run." + props.run_number) : "")))

version "0.2.1-alpha"

def version_txt = new File(project.projectDir, "version.txt")
version_txt.write(version.toString())
Expand Down Expand Up @@ -185,7 +187,7 @@ project(':cleanroom') {

target.withWriter { def writer ->
template.eachLine { def line ->
def newLine = line.replace("%VERSION%", versionDetails().lastTag)
def newLine = line.replace("%VERSION%", rootProject.version.toString())
.replace("%BUILD_VERSION%", rootProject.version.toString())
writer.write(newLine + "\n");
}
Expand Down Expand Up @@ -435,7 +437,7 @@ project(':cleanroom') {
installer "org.ow2.asm:asm-deprecated:$props.asm_deprecated"

//installer "com.cleanroommc:bouncepad:$props.bouncepad_version"
installer "top.outlands:foundation:0.13.5"
installer "top.outlands:foundation:0.13.6"
installer 'org.burningwave:jvm-driver:8.15.0'
installer 'io.github.toolfactory:jvm-driver:9.7.0'
installer 'io.github.toolfactory:narcissus:1.0.7'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- private final Set<Advancement> field_192759_g = Sets.newLinkedHashSet();
- private final Set<Advancement> field_192760_h = Sets.newLinkedHashSet();
- private final Set<Advancement> field_192761_i = Sets.newLinkedHashSet();
+ private final Map<Advancement, AdvancementProgress> field_192758_f = Maps.<Advancement, AdvancementProgress>newLinkedHashMap();
+ public final Map<Advancement, AdvancementProgress> field_192758_f = Maps.<Advancement, AdvancementProgress>newLinkedHashMap(); // CatServer - private -> public
+ private final Set<Advancement> field_192759_g = Sets.<Advancement>newLinkedHashSet();
+ private final Set<Advancement> field_192760_h = Sets.<Advancement>newLinkedHashSet();
+ private final Set<Advancement> field_192761_i = Sets.<Advancement>newLinkedHashSet();
Expand Down
Loading

0 comments on commit 622da1c

Please sign in to comment.