Add new commands to metrics
This commit is contained in:
@@ -85,6 +85,8 @@ public class CopyDisguiseCommand implements CommandExecutor {
|
||||
sendMessage(sender, LibsMsg.CLICK_TO_COPY_WITH_SKIN, DisguiseParser.parseToString(disguise), true);
|
||||
}
|
||||
|
||||
DisguiseUtilities.setCopyDisguiseCommandUsed();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@@ -141,6 +141,8 @@ public class GrabSkinCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
sender.spigot().sendMessage(builder.create());
|
||||
|
||||
DisguiseUtilities.setGrabSkinCommandUsed();
|
||||
}
|
||||
};
|
||||
|
||||
|
@@ -164,6 +164,8 @@ public class SaveDisguiseCommand implements CommandExecutor {
|
||||
try {
|
||||
DisguiseAPI.addCustomDisguise(name, disguiseString);
|
||||
sender.sendMessage(LibsMsg.CUSTOM_DISGUISE_SAVED.get(name));
|
||||
|
||||
DisguiseUtilities.setSaveDisguiseCommandUsed();
|
||||
}
|
||||
catch (DisguiseParseException e) {
|
||||
if (e.getMessage() != null) {
|
||||
|
Reference in New Issue
Block a user