mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
cargo fmt; changelog
This commit is contained in:
parent
2a0f0053d4
commit
4117f2f2a8
@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Eyebrows and shapes can now be selected
|
||||
- Character name and level information to chat, social tab and `/players` command
|
||||
- Added inventory, armour and weapon saving
|
||||
- Show where screenshots are saved to in the chat
|
||||
- Show where screenshots are saved in the chat
|
||||
- Added basic auto walk
|
||||
- Added weapon/attack sound effects
|
||||
- M2 attack for bow
|
||||
@ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Server whitelist
|
||||
- Optional server-side maximum view distance
|
||||
- MOTD on login
|
||||
- Added group chat `/join_group` `/group`
|
||||
- Added faction chat `/join_faction` `/faction`
|
||||
- Added regional, local, and global chat (`/region`, `/say`, and `/world`, respectively)
|
||||
- Added command shortcuts for each of the above chat modes (`/g`, `/f`, `/r`, `/s`, and `/w`, respectively and `/t` for `/tell`)
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -764,7 +764,8 @@ impl Client {
|
||||
player_info.is_admin = admin;
|
||||
} else {
|
||||
warn!(
|
||||
"Received msg to update admin status of uid {}, but they were not in the list.",
|
||||
"Received msg to update admin status of uid {}, but they were not \
|
||||
in the list.",
|
||||
uid
|
||||
);
|
||||
}
|
||||
|
@ -959,7 +959,11 @@ fn handle_adminify(
|
||||
.map(|(entity, _)| entity);
|
||||
match opt_player {
|
||||
Some(player) => {
|
||||
let is_admin = if server.state.read_component_cloned::<comp::Admin>(player).is_some() {
|
||||
let is_admin = if server
|
||||
.state
|
||||
.read_component_cloned::<comp::Admin>(player)
|
||||
.is_some()
|
||||
{
|
||||
ecs.write_storage::<comp::Admin>().remove(player);
|
||||
false
|
||||
} else {
|
||||
|
@ -40,7 +40,8 @@ pub fn add_server_systems(dispatch_builder: &mut DispatcherBuilder) {
|
||||
dispatch_builder.add(terrain::Sys, TERRAIN_SYS, &[]);
|
||||
dispatch_builder.add(waypoint::Sys, WAYPOINT_SYS, &[]);
|
||||
dispatch_builder.add(persistence::Sys, PERSISTENCE_SYS, &[]);
|
||||
//dispatch_builder.add(persistence::stats::Sys, STATS_PERSISTENCE_SYS, &[]);
|
||||
//dispatch_builder.add(persistence::stats::Sys, STATS_PERSISTENCE_SYS,
|
||||
// &[]);
|
||||
}
|
||||
|
||||
pub fn run_sync_systems(ecs: &mut specs::World) {
|
||||
|
Loading…
Reference in New Issue
Block a user