Yesterday me and my flatmate struggled to get Gargaj's script to work. When the scripts processed our world, it crashed with a NullPointerException when trying to access chunk.Blocks.XDim in some chunks. If this also happens to you, we found two solutions to this problem:
Solution 1 (the safer one; requires having a backup copy of your world before conversion to 1.8):
Make a copy of the backup copy somewhere; say, C:\world (so the script doesn't modify your backup in case something goes wrong).
Run the script on that.
Voila, everything should be OK now. If the script crashes even when you run it on < 1.8 world, you can try solution 2 (below).
Solution 2 (the less safe one):
Use this modification of Gargaj's script (I added a condition to this script that skips the chunks for which the script crashes, but because of that I can't guarantee that all of the chunks you'd want processed will be processed. I didn't read into why for some chunks chunk.Blocks == null; this might be a bug in some worlds or in Substrate, or maybe just the way Minecraft works).
Yesterday me and my flatmate struggled to get Gargaj's script to work. When the scripts processed our world, it crashed with a NullPointerException when trying to access chunk.Blocks.XDim in some chunks. If this also happens to you, we found two solutions to this problem:
Solution 1 (the safer one; requires having a backup copy of your world before conversion to 1.8):
Make a copy of the backup copy somewhere; say, C:\world (so the script doesn't modify your backup in case something goes wrong).
Run the script on that.
Voila, everything should be OK now. If the script crashes even when you run it on < 1.8 world, you can try solution 2 (below).
Solution 2 (the less safe one):
Use this modification of Gargaj's script (I added a condition to this script that skips the chunks for which the script crashes, but because of that I can't guarantee that all of the chunks you'd want processed will be processed. I didn't read into why for some chunks chunk.Blocks == null; this might be a bug in some worlds or in Substrate, or maybe just the way Minecraft works).