mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
remove unnecessary clone
This commit is contained in:
parent
85357a4b6f
commit
eb596d921b
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ fn process_packet_events(ecs: &mut World) {
|
|||
for state in &p.states {
|
||||
world
|
||||
.chunks
|
||||
.set_block_state(&(p.section_pos + state.pos.clone()), state.state);
|
||||
.set_block_state(&(p.section_pos + state.pos), state.state);
|
||||
}
|
||||
}
|
||||
ClientboundGamePacket::GameEvent(p) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue