mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43: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")
|
new Event("PluginVersionUpdated")
|
||||||
.withProperty("from", lastVersion)
|
.withProperty("from", lastVersion)
|
||||||
.withProperty("to", currentVersion)
|
.withProperty("to", currentVersion)
|
||||||
|
.withProperty("commit_hash", versionConfig.getCommitHash())
|
||||||
|
.withProperty("channel", versionConfig.getChannel())
|
||||||
|
.withProperty("platform", versionConfig.getPlatform())
|
||||||
);
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user