Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny-Hui committed Feb 2, 2025
1 parent 2fe0c32 commit ab6892b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
## (JCM v2.0.0 beta.7) for (MTR 4.0.0-beta.13) has been released!

**New:**
- **Scripting**
- - Extend scripting support to MTR Decoration Block/Eyecandy
- - Note: This change is likely not useful to most players & developers, as support for model loading is very simplistic. Most if not all scripts from MTR 3/NTE will fail to load.
- Disneyland Resorts Line APG now reacts to redstone signal just like built-in APGs in MTR 4
- **JSON PIDS Preset**
- - The PIDS Variable `{worldPlayer}` is now implemented and displayed correctly again

**Changes:**
- **Scripting**
- - Scripts that points to an invalid location will now error out in the console
- Most blocks can now be crafted with a crafting recipe and drop items again, making it possible to use survival mode with JCM (Albeit still need improvements)
- - This currently only covers blocks added in JCM v1, new blocks added in JCM v2 don't have a recipe nor item drops yet.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.Arrays;
import java.util.Objects;
import java.util.stream.Collectors;

/* A key that can uniquely identify a set of objects. */
public class UniqueKey {
Expand Down Expand Up @@ -35,6 +36,6 @@ public int hashCode() {

@Override
public String toString() {
return String.join(", ", Arrays.stream(objs).map(Object::toString).toList());
return Arrays.stream(objs).map(Object::toString).collect(Collectors.joining(", "));
}
}

0 comments on commit ab6892b

Please # to comment.