replace function not working
See original GitHub issueIssue description
Trying to replace anything with recipes.replaceAllOccurrences()
results in error
Steps to reproduce
No response
Script used
https://gist.github.com/menguele/e3e55fb92739f4dbe38ff31cf7e6f6b2
The crafttweaker.log file
https://gist.github.com/menguele/dea0fe7bd23d53b08df91675a41c3408
Minecraft version
1.12
Modloader
Forge
Modloader version
14.23.5.2860
CraftTweaker version
4.1.20.678
Other relevant information
I use OpenJ9, with Hotspot or GraalVM it says [INITIALIZATION][CLIENT][ERROR] [crafttweaker]: Error executing {[0:crafttweaker]: test.zs}: Truncated class file
on line 34, the rest seems the same
The latest.log file
https://gist.github.com/menguele/e0b09708d5efe79e53fce96aeb7a60b0
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why does String.replace not work? [duplicate] - Stack Overflow
You did not assign it to test . Strings are immutable. test = test.replace("KP", "");. You need to assign it back to test...
Read more >Python string replace not working | Edureka Community
Hi. I am trying to replace some characters in python string but it is not working. I am using this code: name =...
Read more >Python string replace not working - Intellipaat Community
1 Answer ... You are facing this issue because you are using the replace method incorrectly. When you call the replace method on...
Read more >String replace function not working when trying to replace with ...
Hello all,. I have a long string field(description field) in my data source and I want to replace a specific character with new...
Read more >string.replace does not work correctly for large strings #40709
You can either properly escape the input, use a function as the replacement value, or use a different function to substitute the substring....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
recipes.replaceAllOccurences
, you typed double R. I knowOccurrences
is proper spelling…not that much bloat.