Merge pull request #4 from MineTheCube/patch-2

Make DataStore#getGroupBonusBlocks(UUID) public
This commit is contained in:
RoboMWM 2016-09-20 09:33:07 -07:00 committed by GitHub
commit 5186739d3a

View File

@ -310,7 +310,7 @@ public abstract class DataStore
//gets the number of bonus blocks a player has from his permissions //gets the number of bonus blocks a player has from his permissions
//Bukkit doesn't allow for checking permissions of an offline player. //Bukkit doesn't allow for checking permissions of an offline player.
//this will return 0 when he's offline, and the correct number when online. //this will return 0 when he's offline, and the correct number when online.
synchronized int getGroupBonusBlocks(UUID playerID) synchronized public int getGroupBonusBlocks(UUID playerID)
{ {
int bonusBlocks = 0; int bonusBlocks = 0;
Set<String> keys = permissionToBonusBlocksMap.keySet(); Set<String> keys = permissionToBonusBlocksMap.keySet();