Braces!
This commit is contained in:
parent
d9f6403fb0
commit
ccd3f747fd
@ -139,7 +139,7 @@ public class CommunityManager extends MiniDbClientPlugin<CommunityMemberData>
|
||||
_loadedCommunities = new ConcurrentHashMap<>();
|
||||
|
||||
runAsync(() ->
|
||||
{
|
||||
{
|
||||
_repo.loadBrowserCommunities(_browserIds);
|
||||
log("Loaded " + _browserIds.size() + " communities to show in browser");
|
||||
});
|
||||
|
@ -40,7 +40,9 @@ public abstract class CommunitiesGUIPage implements Listener
|
||||
public static CommunityManager getCommunityManager()
|
||||
{
|
||||
if (_manager == null)
|
||||
{
|
||||
_manager = Managers.require(CommunityManager.class);
|
||||
}
|
||||
return _manager;
|
||||
}
|
||||
|
||||
|
@ -177,7 +177,9 @@ public class LagMeter extends MiniPlugin
|
||||
player.sendMessage(F.main(getName(), ChatColor.YELLOW + String.valueOf(player.getWorld().getLoadedChunks().length) + ChatColor.GRAY + " chunks loaded"));
|
||||
|
||||
if (_communities == null)
|
||||
_communities = Managers.get(CommunityManager.class);
|
||||
{
|
||||
_communities = Managers.get(CommunityManager.class);
|
||||
}
|
||||
|
||||
player.sendMessage(F.main(getName(), ChatColor.YELLOW + String.valueOf(_communities.getCount()) + ChatColor.GRAY + " communities loaded"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user