Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 14
[Feature] Discord Integration (f/ ASEAN) v1.2.3#200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
34b5729d364c965458bd73f1bd2838f9f7568b85c6ccfac04File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -4,6 +4,7 @@ | ||
| import com.sk89q.worldguard.bukkit.WorldGuardPlugin; | ||
| import org.bukkit.Bukkit; | ||
| import org.jetbrains.annotations.NotNull; | ||
| import org.jetbrains.annotations.Nullable; | ||
| import org.mvplugins.multiverse.core.MultiverseCoreApi; | ||
| import java.util.Objects; | ||
| @@ -26,6 +27,10 @@ public static boolean isWorldGuardExtraFlagsEnabled() { | ||
| return PlotSystem.getPlugin().getServer().getPluginManager().isPluginEnabled("WorldGuardExtraFlags"); | ||
| } | ||
| public static @Nullable org.bukkit.plugin.Plugin getDiscordIntegration() { | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Import | ||
| return PlotSystem.getPlugin().getServer().getPluginManager().getPlugin("DiscordPlotSystem"); | ||
| } | ||
| /** | ||
| * @param worldName Name of the world | ||
| * @return Config path for the world | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why no import?