mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-23 21:19:39 +07:00
order (#6137)
This commit is contained in:
parent
171e348b49
commit
9cc738d867
@ -113,6 +113,7 @@ public class SaveIO{
|
||||
|
||||
public static void write(OutputStream os, StringMap tags){
|
||||
try(DataOutputStream stream = new DataOutputStream(os)){
|
||||
Events.fire(new SaveWriteEvent());
|
||||
SaveVersion ver = getVersion();
|
||||
|
||||
stream.write(header);
|
||||
@ -122,8 +123,6 @@ public class SaveIO{
|
||||
}else{
|
||||
ver.write(stream, tags);
|
||||
}
|
||||
|
||||
Events.fire(new SaveWriteEvent());
|
||||
}catch(Throwable e){
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user