From 00999b84e92e8a98d8bcfd9bcc83532a529c78c9 Mon Sep 17 00:00:00 2001 From: MineTheCube Date: Tue, 20 Sep 2016 16:03:41 +0200 Subject: [PATCH] Make DataStore#getGroupBonusBlocks(UUID) public This improve compatibility with external plugins --- src/me/ryanhamshire/GriefPrevention/DataStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/DataStore.java b/src/me/ryanhamshire/GriefPrevention/DataStore.java index e31b8b3de..b99b144c2 100644 --- a/src/me/ryanhamshire/GriefPrevention/DataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DataStore.java @@ -310,7 +310,7 @@ synchronized void clearCachedPlayerData(UUID playerID) //gets the number of bonus blocks a player has from his permissions //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. - synchronized int getGroupBonusBlocks(UUID playerID) + synchronized public int getGroupBonusBlocks(UUID playerID) { int bonusBlocks = 0; Set keys = permissionToBonusBlocksMap.keySet();