mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
Clarified ingest target errors
- Rejected target pack names outside letters, digits, underscores and hyphens before ingest starts - Reported an existing target pack with a translated replace=true hint instead of the raw path
This commit is contained in:
1 parent
7fc8d20516
commit
769e077078
21 files changed
+31
No files matched your search
+1
@@ -68,6 +68,7 @@ public class ModIngestArgumentsTest {
|
||||
public void valuesAreValidated() {
|
||||
assertEquals("replace must be true or false", reason("overworld modded replace=yes"));
|
||||
assertEquals("invalid pack name '../evil'", reason("../evil modded"));
|
||||
assertEquals("invalid target pack name 'modded.v2'", reason("overworld modded.v2"));
|
||||
assertEquals("invalid dimension key 'a..b'", reason("overworld modded dimension=a..b"));
|
||||
assertEquals("invalid namespace 'Bad'", reason("overworld modded namespaces=ok,Bad"));
|
||||
assertEquals("namespaces must not be empty", reason("overworld modded namespaces=,"));
|
||||
|
||||
Reference in new issue
Block a user