Skip to content

Commit b2eaec2

Browse files
committed
api changes
1 parent ac5b651 commit b2eaec2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/dev/plex/ExampleModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ public void enable()
1313
registerListener(new ExampleListener(this));
1414
api().logging().info("{0} enabled with Plex API compatibility {1}",
1515
getPlexModuleFile().getName(),
16-
api().compatibility().version());
16+
api().apiCompatibilityVersion());
1717
}
1818
}

src/main/java/dev/plex/command/ExampleCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private Component help()
5959

6060
private Component info()
6161
{
62-
int compatibility = api().compatibility().version();
62+
int compatibility = api().apiCompatibilityVersion();
6363
int loadedModules = api().modules().loadedModules().size();
6464
return mmString("<gold>Plex API compatibility:</gold> <yellow>" + compatibility
6565
+ "</yellow> <dark_gray>•</dark_gray> <gold>Loaded modules:</gold> <yellow>"

0 commit comments

Comments
 (0)