Player saveWrite tweaks

This commit is contained in:
Anuken
2018-04-17 08:57:30 -04:00
parent 0bebe5008b
commit 7f2a0a77c7
2 changed files with 5 additions and 2 deletions

View File

@@ -315,7 +315,10 @@ public class Player extends Unit{
@Override
public void writeSave(DataOutputStream stream) throws IOException {
stream.writeBoolean(isLocal);
if(isLocal) super.writeSave(stream);
if(isLocal){
super.writeSave(stream);
}
}
@Override