add syncronized keyword to hopefully fix plugins that insist on calling this method asynchronously
May close #279
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user