Fixed lint error that was missed
@@ -1504,7 +1504,7 @@ impl Packet for OpenWindow {
self.window_title = buf.try_get_string()?;
self.number_of_slots = buf.try_get_u8()?;
- if self.window_type == String::from("EntityHorse") {
+ if self.window_type == "EntityHorse" {
self.entity_id = Some(buf.try_get_i32()?);
} else {
self.entity_id = None;
