mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
Skip the : in block names
This commit is contained in:
1 parent
bdf22483bc
commit
7c4d95f994
1 file changed
+1
-1
@@ -116,7 +116,7 @@ public class ModelRegistry {
|
||||
|
||||
final int sepIdx = blockName.indexOf(":");
|
||||
final var domain = blockName.substring(0, sepIdx);
|
||||
final var name = blockName.substring(sepIdx);
|
||||
final var name = blockName.substring(sepIdx + 1);
|
||||
|
||||
return new BlockName(domain, name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user