Skip to content

Commit 670d5f0

Browse files
author
Lars Artmann
authored
Merge pull request #97 from LartyHD/added-DarkFrame-Version-to-the-report
Added dark frame version to the report
2 parents b1caeb9 + da41cdc commit 670d5f0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Nov 25 16:06:11 CET 2018
22
pluginGroup=de.astride
3-
pluginVersion=1.1.0
3+
pluginVersion=1.1.1
44
kotlin.code.style=official
55
versions_spigot=1.8.8-R0.1-SNAPSHOT
66
# Project-wide Gradle settings.

spigot/src/main/kotlin/de/astride/gungame/GunGame.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ class GunGame : DarkPlugin() {
181181

182182
val rollbar: Rollbar = Rollbar.init(withAccessToken("364c0eca3f6f49e98201dc8dabec501d")
183183
.codeVersion("1.1.0")
184+
.custom {
185+
mapOf("DarkFrame-Version" to server.pluginManager.getPlugin("DarkFrame")?.description?.version)
186+
}
184187
.server {
185188
Server.Builder().host(InetAddress.getLocalHost().toString()).build()
186189
}

0 commit comments

Comments
 (0)