Fixed subdivision loss during upgrade.
This commit is contained in:
1 parent
4e7da93eac
commit
2f816c1a9b
1 file changed
+1
-1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user