fancynpcs: Add commit_hash, channel and platform to PluginVersionUpdated event

This commit is contained in:
Oliver
2025-06-27 16:10:44 +02:00
parent 0c41998656
commit 4a8d130235
2 changed files with 4 additions and 1 deletions

View File

@@ -1 +1 @@
2.6.0.275
2.6.0.276

View File

@@ -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 {