-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
5be2973
commit 3722183
Showing
3 changed files
with
113 additions
and
6 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
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
13 changes: 13 additions & 0 deletions
13
spigot/src/main/java/net/cybercake/cyberapi/spigot/inventory/exceptions/GUIErrorHandler.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,13 @@ | ||
package net.cybercake.cyberapi.spigot.inventory.exceptions; | ||
|
||
import org.bukkit.entity.Player; | ||
import org.bukkit.event.Event; | ||
|
||
public interface GUIErrorHandler<E extends Event> { | ||
|
||
void handle(Exception exception, | ||
E event, | ||
Player player | ||
); | ||
|
||
} |