Skip to content

Commit 275a29c

Browse files
committed
rename RuleManager#rules to RuleManager#getRules
1 parent c7c69be commit 275a29c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/net/jadedmc/commandblockerpro/CommandBlockerPro.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class CommandBlockerPro {
4040
* @return Collection of all loaded rules.
4141
*/
4242
public static Collection<Rule> getRules() {
43-
return plugin.ruleManager().rules();
43+
return plugin.ruleManager().getRules();
4444
}
4545

4646
/**

src/main/java/net/jadedmc/commandblockerpro/rules/RuleManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void reloadRules() {
7373
* Gets all currently loaded rules.
7474
* @return All loaded rules, stored in a collection.
7575
*/
76-
public Collection<Rule> rules() {
76+
public Collection<Rule> getRules() {
7777
return rules;
7878
}
7979
}

0 commit comments

Comments
 (0)