mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-05 23:33:36 +00:00
fancynpcs: Add commit_hash, channel and platform to PluginVersionUpdated event
This commit is contained in:
@@ -1 +1 @@
|
||||
2.6.0.275
|
||||
2.6.0.276
|
||||
@@ -491,6 +491,9 @@ public class FancyNpcs extends JavaPlugin implements FancyNpcsPlugin {
|
||||
new Event("PluginVersionUpdated")
|
||||
.withProperty("from", lastVersion)
|
||||
.withProperty("to", currentVersion)
|
||||
.withProperty("commit_hash", versionConfig.getCommitHash())
|
||||
.withProperty("channel", versionConfig.getChannel())
|
||||
.withProperty("platform", versionConfig.getPlatform())
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user