From 4cffd2cadd632667bf98d4efe1972f0a3a91663f Mon Sep 17 00:00:00 2001 From: ccgauche Date: Mon, 1 Mar 2021 19:28:27 +0100 Subject: [PATCH] Updated CI + Changelog --- CHANGELOG.md | 3 ++- server/src/login_provider.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae521df40a..7c1aa87bee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Coral reefs, kelp forests, and seagrass - Talk animation - New bosses in 5 lower dungeons -= New enemies in 5 lower dungeons +- New enemies in 5 lower dungeons +- Added on join event in plugins ### Changed diff --git a/server/src/login_provider.rs b/server/src/login_provider.rs index a4205ff28f..6d736b7061 100644 --- a/server/src/login_provider.rs +++ b/server/src/login_provider.rs @@ -81,7 +81,7 @@ impl LoginProvider { match plugin_manager.execute_event(&world, "on_join", &PlayerJoinEvent { player_name: username.clone(), - player_id: uuid.as_bytes().clone(), + player_id: *uuid.as_bytes(), }) { Ok(e) => { for i in e.into_iter() {