mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 18:29:05 +00:00
Turned command id into a string
This commit is contained in:
1 parent
d9569d0ef7
commit
e882cdacb2
2 files changed
+6
-12
No files matched your search
@@ -87,11 +87,11 @@ public class CustomNPCsEvent extends Event implements ICustomNPCsEvent {
|
||||
public IWorld world;
|
||||
public IPos pos;
|
||||
public String senderName;
|
||||
public int id;
|
||||
public String id;
|
||||
public String[] args;
|
||||
public String replyMessage = "";
|
||||
|
||||
public ScriptedCommandEvent(IWorld world, IPos pos, String senderName, int id, String[] args){
|
||||
public ScriptedCommandEvent(IWorld world, IPos pos, String senderName, String id, String[] args){
|
||||
this.world = world;
|
||||
this.pos = pos;
|
||||
this.senderName = senderName;
|
||||
@@ -124,7 +124,7 @@ public class CustomNPCsEvent extends Event implements ICustomNPCsEvent {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user