aboutsummaryrefslogtreecommitdiff
path: root/server/src/commands.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-12-16 01:12:16 +0100
committermetamuffin <metamuffin@disroot.org>2025-12-16 01:12:16 +0100
commitc1b9bbb5e76b88e803ba833c16337d528c1dd7be (patch)
tree93761c5f4189ece758923cab3bd2388bbcf18a8c /server/src/commands.rs
parente2efb15aa58477d898f92c8959242c0da3ce62bc (diff)
downloadhurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar
hurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar.bz2
hurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar.zst
Rename effect packet for compatiblity with older clients
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r--server/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs
index 7b3ce48d..6aba5f8f 100644
--- a/server/src/commands.rs
+++ b/server/src/commands.rs
@@ -275,7 +275,7 @@ impl Server {
}),
Command::Effect { name } => {
self.broadcast
- .send(PacketC::Effect {
+ .send(PacketC::Effect2 {
name,
location: ItemLocation::Player(player, Hand(0)),
})