Compare commits

2 Commits
Author SHA1 Message Date
MineTec 06241ea1ff 0.2.5
build / build (push) Successful in 49s
release / release (push) Successful in 1m21s
2026-11-08 18:38:45 +01:00
MineTec 87a1998dd4 devmode test: load the exe outside assertThrows so it skips cleanly without game files (ci) 2026-11-08 18:36:59 +01:00
3 changed files with 10 additions and 4 deletions

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
# Changelog
## 0.2.4 – 2026-11-08
## 0.2.5 – 2026-11-08
(0.2.4 was tagged but its release build failed on a test; 0.2.5 contains the same changes plus that test fix.)
- **New mod "Mountain 3 crash fix"** (Gameplay): the rolling boulder spawners in Mountain chapter 3
deleted themselves too early and their boulders later wrote into the freed memory (use after free),
+1 -1
View File
@@ -5,7 +5,7 @@ plugins {
group = 'com.eliasmueller.llamamod'
// Release builds pass -PreleaseVersion=<tag without v> (see .gitea/workflows/release.yml).
version = findProperty('releaseVersion') ?: '0.2.4'
version = findProperty('releaseVersion') ?: '0.2.5'
repositories {
mavenCentral()
@@ -123,8 +123,12 @@ class DevModeModTest {
}
@Test
void sameKeyTwiceIsRejected() {
assertThrows(IllegalArgumentException.class, () -> applied("de", Map.of("idolKey", "F1"), tmp));
void sameKeyTwiceIsRejected() throws Exception {
ExeImage img = exe("de"); // outside assertThrows: skips the test when the exe is not available
img.setOwner("devmode");
DevModeMod mod = new DevModeMod();
TestModContext ctx = new TestModContext(tmp, mod, Map.of("idolKey", "F1"), img);
assertThrows(IllegalArgumentException.class, () -> mod.apply(ctx));
}
@Test