add syncronized keyword to hopefully fix plugins that insist on calling this method asynchronously

May close #279
This commit is contained in:
RoboMWM committed 2018-09-07 16:59:47 -07:00
1 parent 2f190a926a
commit a764eea215
1 file changed
+1 -1
@@ -171,7 +171,7 @@ public class PlayerData
}
//don't load data from secondary storage until it's needed
public int getAccruedClaimBlocks()
public synchronized int getAccruedClaimBlocks()
{
if(this.accruedClaimBlocks == null) this.loadDataFromSecondaryStorage();