mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-21 03:15:59 +01:00
Send packet after scene load & Directly send back entity ID to clients
This commit is contained in:
@@ -16,4 +16,14 @@ public final class PacketServerGlobalValueChangeNotify extends BasePacket {
|
||||
.setValue(value)
|
||||
.setKeyHash(Utils.abilityHash(abilityHash)));
|
||||
}
|
||||
|
||||
public PacketServerGlobalValueChangeNotify(int entityId, String abilityHash, int value) {
|
||||
super(PacketOpcodes.ServerGlobalValueChangeNotify);
|
||||
|
||||
this.setData(
|
||||
ServerGlobalValueChangeNotify.newBuilder()
|
||||
.setEntityId(entityId)
|
||||
.setValue(value)
|
||||
.setKeyHash(Utils.abilityHash(abilityHash)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user