mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 20:44:08 +00:00
fix strange field
This commit is contained in:
1 parent
5180e3cc4b
commit
f168eb34d5
1 file changed
+1
-3
@@ -345,7 +345,6 @@ public class NpcEvent extends CustomNPCsEvent implements INpcEvent {
|
||||
public final IDialog dialogObj;
|
||||
|
||||
public final int dialog;
|
||||
public final int option;
|
||||
|
||||
public DialogEvent(ICustomNpc npc, EntityPlayer player, int id, int optionId, Dialog dialog) {
|
||||
super(npc);
|
||||
@@ -355,7 +354,6 @@ public class NpcEvent extends CustomNPCsEvent implements INpcEvent {
|
||||
this.dialogObj = dialog;
|
||||
|
||||
this.dialog = id;
|
||||
this.option = optionId;
|
||||
}
|
||||
|
||||
public String getHookName() {
|
||||
@@ -375,7 +373,7 @@ public class NpcEvent extends CustomNPCsEvent implements INpcEvent {
|
||||
}
|
||||
|
||||
public int getOptionId() {
|
||||
return option;
|
||||
return optionId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user