mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-10 05:39:11 +01:00
Send explosion packet
This commit is contained in:
parent
1bcc0c9f5b
commit
583077d556
@ -73,5 +73,9 @@ public abstract class Explosion {
|
|||||||
packet.records[i*3+1] = y;
|
packet.records[i*3+1] = y;
|
||||||
packet.records[i*3+2] = z;
|
packet.records[i*3+2] = z;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
instance.getPlayers().forEach(player -> {
|
||||||
|
player.sendPacketToViewersAndSelf(packet);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user