mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-28 05:25:20 +01:00
Added WorldGuardPlugin.getRegionLoader().
This commit is contained in:
parent
7b2f9e0c86
commit
edc6825f83
@ -1307,6 +1307,15 @@ public RegionManager getRegionManager() {
|
|||||||
return regionManager;
|
return regionManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the region loader.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public ProtectionDatabase getRegionLoader() {
|
||||||
|
return regionLoader;
|
||||||
|
}
|
||||||
|
|
||||||
boolean inGroup(Player player, String group) {
|
boolean inGroup(Player player, String group) {
|
||||||
try {
|
try {
|
||||||
return perms.inGroup(player.getName(), group);
|
return perms.inGroup(player.getName(), group);
|
||||||
|
Loading…
Reference in New Issue
Block a user