mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-01-09 05:33:37 +00:00
Turned off caching in the packer as it's currently creating more problems than it solves.
This commit is contained in:
parent
df02ca2367
commit
95e4651123
@ -1634,16 +1634,19 @@ class A2PackPartitions
|
||||
|
||||
def readCache()
|
||||
{
|
||||
/* This isn't working reliably lately
|
||||
File cacheFile = new File("build/world.cache")
|
||||
if (cacheFile.exists()) {
|
||||
ObjectInputStream inStream = new ObjectInputStream(new FileInputStream(cacheFile));
|
||||
cache = inStream.readObject();
|
||||
inStream.close()
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
def writeCache()
|
||||
{
|
||||
/* This isn't working reliably lately
|
||||
File cacheFile = new File("build/world.cache")
|
||||
File newCacheFile = new File("build/world.cache.new")
|
||||
ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(newCacheFile));
|
||||
@ -1651,6 +1654,7 @@ class A2PackPartitions
|
||||
out.close()
|
||||
cacheFile.delete() // needed on Windows
|
||||
newCacheFile.renameTo(cacheFile)
|
||||
*/
|
||||
}
|
||||
|
||||
def pack(xmlPath)
|
||||
|
Loading…
Reference in New Issue
Block a user