Fixed subdivision loss during upgrade.
This commit is contained in:
parent
4e7da93eac
commit
2f816c1a9b
|
|
@ -498,7 +498,7 @@ public abstract class DataStore
|
||||||
synchronized public void saveClaim(Claim claim)
|
synchronized public void saveClaim(Claim claim)
|
||||||
{
|
{
|
||||||
//ensure a unique identifier for the claim which will be used to name the file on disk
|
//ensure a unique identifier for the claim which will be used to name the file on disk
|
||||||
if(claim.id == null)
|
if(claim.id == null || claim.id == -1)
|
||||||
{
|
{
|
||||||
claim.id = this.nextClaimID;
|
claim.id = this.nextClaimID;
|
||||||
this.incrementNextClaimID();
|
this.incrementNextClaimID();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user