mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 00:14:44 +00:00
Made faction, quest, dialog, and gui events extend IPlayerEvent instead.
This commit is contained in:
1 parent
86b111bc59
commit
174862d96d
4 files changed
+4
-13
No files matched your search
@@ -5,9 +5,7 @@ import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.gui.ICustomGui;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
|
||||
public interface ICustomGuiEvent extends ICustomNPCsEvent {
|
||||
|
||||
IPlayer getPlayer();
|
||||
public interface ICustomGuiEvent extends IPlayerEvent {
|
||||
|
||||
ICustomGui getGui();
|
||||
|
||||
|
||||
@@ -4,9 +4,7 @@ import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.handler.data.IDialog;
|
||||
|
||||
public interface IDialogEvent extends ICustomNPCsEvent {
|
||||
|
||||
IPlayer getPlayer();
|
||||
public interface IDialogEvent extends IPlayerEvent {
|
||||
|
||||
IDialog getDialog();
|
||||
|
||||
|
||||
@@ -4,9 +4,7 @@ import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.handler.data.IFaction;
|
||||
|
||||
public interface IFactionEvent extends ICustomNPCsEvent {
|
||||
|
||||
IPlayer getPlayer();
|
||||
public interface IFactionEvent extends IPlayerEvent {
|
||||
|
||||
IFaction getFaction();
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
package noppes.npcs.api.event;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.handler.data.IQuest;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
|
||||
public interface IQuestEvent extends ICustomNPCsEvent {
|
||||
|
||||
IPlayer getPlayer();
|
||||
public interface IQuestEvent extends IPlayerEvent {
|
||||
|
||||
IQuest getQuest();
|
||||
|
||||
|
||||
Reference in new issue
Block a user