From: David ‘Bombe’ Roden Date: Thu, 4 Nov 2010 21:43:02 +0000 (+0100) Subject: Save modification counter. X-Git-Tag: 0.2-RC1~43 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ad5654be1d1df30543c40bc01ccab9f143cdc852;p=Sone.git Save modification counter. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index e44cf55..16d4a2c 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -599,6 +599,7 @@ public class Core implements IdentityListener { /* save Sone into configuration. */ String sonePrefix = "Sone/" + sone.getId(); configuration.getLongValue(sonePrefix + "/Time").setValue(sone.getTime()); + configuration.getLongValue(sonePrefix + "/ModificationCounter").setValue(sone.getModificationCounter()); /* save profile. */ Profile profile = sone.getProfile();