This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
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
2 changed files
with
20 additions
and
1 deletion.
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
18 changes: 18 additions & 0 deletions
18
src/main/java/com/denizenscript/denizen2sponge/spongeevents/Denizen2SpongeReloadEvent.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,18 @@ | ||
package com.denizenscript.denizen2sponge.spongeevents; | ||
|
||
import org.spongepowered.api.event.cause.Cause; | ||
import org.spongepowered.api.event.impl.AbstractEvent; | ||
|
||
public class Denizen2SpongeReloadEvent extends AbstractEvent { | ||
|
||
private Cause cause; | ||
|
||
public Denizen2SpongeReloadEvent(Cause cause) { | ||
this.cause = cause; | ||
} | ||
|
||
@Override | ||
public Cause getCause() { | ||
return cause; | ||
} | ||
} |