Update to Forge 10.13.3.1388. Small fixes.
This commit is contained in:
@ -56,9 +56,9 @@
|
||||
+ if ((entityName.indexOf(".") + 1) < entityName.length())
|
||||
+ entityName = entityName.substring(entityName.indexOf(".") + 1, entityName.length());
|
||||
+ }
|
||||
+ entityName.replace("entity", "");
|
||||
+ entityName = entityName.replace("entity", "");
|
||||
+ if (entityName.startsWith("ent"))
|
||||
+ entityName.replace("ent", "");
|
||||
+ entityName = entityName.replace("ent", "");
|
||||
+ entityName = entityName.replaceAll("[^A-Za-z0-9]", ""); // remove all non-digits/alphanumeric
|
||||
+ if (activeModContainer != null)
|
||||
+ modId = activeModContainer.getModId();
|
||||
|
@ -27,7 +27,7 @@
|
||||
+ // Cauldron start - mod id's are not available during generateWorld so we must capture them here
|
||||
+ String modId = Loader.instance().activeModContainer().getModId();
|
||||
+ modId = modId.replaceAll("[^A-Za-z0-9]", ""); // remove all non-digits/alphanumeric
|
||||
+ modId.replace(" ", "_");
|
||||
+ modId = modId.replace(" ", "_");
|
||||
worldGenerators.add(generator);
|
||||
worldGeneratorIndex.put(generator, modGenerationWeight);
|
||||
if (sortedGeneratorList != null)
|
||||
|
Reference in New Issue
Block a user