mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 11:31:18 +08:00
Call PacketItemAddHintNotify from addItem
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package emu.grasscutter.server.packet.send;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import emu.grasscutter.game.inventory.GenshinItem;
|
||||
@@ -21,7 +22,7 @@ public class PacketItemAddHintNotify extends GenshinPacket {
|
||||
this.setData(proto);
|
||||
}
|
||||
|
||||
public PacketItemAddHintNotify(List<GenshinItem> items, ActionReason reason) {
|
||||
public PacketItemAddHintNotify(Collection<GenshinItem> items, ActionReason reason) {
|
||||
super(PacketOpcodes.ItemAddHintNotify);
|
||||
|
||||
ItemAddHintNotify.Builder proto = ItemAddHintNotify.newBuilder()
|
||||
|
||||
Reference in New Issue
Block a user