Skip to content

Commit

Permalink
write version in lock metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Aug 31, 2023
1 parent 7606202 commit 753f1a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/zenith/database/LockingDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ public void writeLockInfo() {
.set(
"Player=" + CONFIG.authentication.username + ", " +
"IP=" + CONFIG.server.proxyIP + ", " +
"Time=" + Instant.now().toString()
"Time=" + Instant.now().toString() + ", " +
"Version=" + LAUNCH_CONFIG.version
);
} catch (final Exception e) {
DATABASE_LOG.warn("Error writing lock info for database: {}", getLockKey(), e);
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/death_messages.schema
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ $v burned to death whilst fighting $m
$v burned up in lava whilst fighting $m
$v tried to swim in lava and didn't get out quick enough whilst fighting $m
$v was swarmed by $m.
$v drowned in lava whilst fighting $m

# technically a mob with a name but mob type is not reported
$v fell to death after being pushed by $w
Expand Down

0 comments on commit 753f1a6

Please sign in to comment.