mirror of
https://codeberg.org/moonleay/Gimble.git
synced 2024-11-21 22:32:50 +00:00
feat: changed Player feedback on mode change
This commit is contained in:
parent
e3b1be7028
commit
14f2021748
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@ object GimbleServer {
|
|||
private fun handleStateUpdate(player: ServerPlayerEntity, buf: PacketByteBuf){
|
||||
val state = Cbor.decodeFromByteArray<EditorState>(buf.readByteArray())
|
||||
ServerEditorManager.updateEditorState(player.uuid, state)
|
||||
player.sendMessage(Text.of("Updated State (Server) ${state.editorMode} with ${state.editorModifier}"))
|
||||
player.sendMessage(Text.of("Mode: ${state.editorMode} with ${state.editorModifier}"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue