mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
refactor: rename main package
This commit is contained in:
92 files changed
+379
-398
No files matched your search
@@ -0,0 +1,28 @@
|
||||
package com.github.alathra.alathranwars.events;
|
||||
|
||||
import com.github.alathra.alathranwars.conflict.war.War;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class WarCreateEvent extends Event {
|
||||
private static final HandlerList HANDLER_LIST = new HandlerList();
|
||||
private War war;
|
||||
|
||||
public WarCreateEvent(War war) {
|
||||
this.war = war;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull HandlerList getHandlers() {
|
||||
return HANDLER_LIST;
|
||||
}
|
||||
|
||||
public static HandlerList getHandlerList() {
|
||||
return HANDLER_LIST;
|
||||
}
|
||||
|
||||
public War getWar() {
|
||||
return war;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user