fix AssetsManager: save resources
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
projectGroup=ghast
|
projectGroup=ghast
|
||||||
projectName=ghast-tools
|
projectName=ghast-tools
|
||||||
projectVersion=1.2
|
projectVersion=1.2.1
|
||||||
@@ -136,6 +136,7 @@ public class AssetsManager {
|
|||||||
while ((count = inputStream.read(buffer)) != -1) {
|
while ((count = inputStream.read(buffer)) != -1) {
|
||||||
outputStream.write(buffer, 0, count);
|
outputStream.write(buffer, 0, count);
|
||||||
}
|
}
|
||||||
|
outputStream.flush();
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new AssetsException(format("Error save asset \"{0}\" to \"{1}\": {2}",
|
throw new AssetsException(format("Error save asset \"{0}\" to \"{1}\": {2}",
|
||||||
|
|||||||
Reference in New Issue
Block a user