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() {