mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
- Added IC2 charge conditions and transformers
- Fixed 1.6.4 frantically reloading scripts - Fixed 1.7.10 chat messages
This commit is contained in:
1 parent
70cba6d84b
commit
55c3630bf3
7 files changed
+162
-3
No files matched your search
@@ -50,6 +50,8 @@ public class ScriptProviderMemory implements IScriptProvider {
|
||||
while (script.next()) {
|
||||
String name = script.getName();
|
||||
byte[] data = FileUtil.read(script.open());
|
||||
if (data.length == 0) continue; // skip empty files
|
||||
|
||||
deflaterData.writeUTF(name);
|
||||
deflaterData.writeInt(data.length);
|
||||
deflaterData.write(data);
|
||||
|
||||
Reference in new issue
Block a user