1
2
Fork 0
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:
mat 2023-07-20 05:05:14 -05:00
parent 85357a4b6f
commit eb596d921b

View file

@ -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) => {