Make DataStore#getGroupBonusBlocks(UUID) public
This improve compatibility with external plugins
This commit is contained in:
parent
29538c69fe
commit
806f68967d
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user