mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 22:22:51 +00:00
Only send full clear notification on burst cast.
This commit is contained in:
parent
b9f6d7f70b
commit
ed290b6a39
@ -146,7 +146,7 @@ public class EntityAvatar extends GameEntity {
|
||||
// Send packets.
|
||||
this.getScene().broadcastPacket(new PacketEntityFightPropUpdateNotify(this, curEnergyProp));
|
||||
|
||||
if (reason != ChangeEnergyReason.CHANGE_ENERGY_REASON_NONE) {
|
||||
if (reason == ChangeEnergyReason.CHANGE_ENERGY_REASON_SKILL_START) {
|
||||
this.getScene().broadcastPacket(new PacketEntityFightPropChangeReasonNotify(this, curEnergyProp, -maxEnergy, reason));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user