-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
core/src/main/java/dev/geco/gsit/api/event/GSitReloadEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package dev.geco.gsit.api.event; | ||
|
||
import org.jetbrains.annotations.*; | ||
|
||
import org.bukkit.event.*; | ||
import org.bukkit.event.server.*; | ||
|
||
import dev.geco.gsit.GSitMain; | ||
|
||
public class GSitReloadEvent extends PluginEvent { | ||
|
||
private static final HandlerList HANDLERS = new HandlerList(); | ||
|
||
private final GSitMain GPM; | ||
|
||
public GSitReloadEvent(GSitMain GPluginMain) { | ||
super(GPluginMain); | ||
GPM = GPluginMain; | ||
} | ||
|
||
public @NotNull GSitMain getPlugin() { return GPM; } | ||
|
||
public @NotNull HandlerList getHandlers() { return HANDLERS; } | ||
|
||
public static HandlerList getHandlerList() { return HANDLERS; } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters