This commit is contained in:
ThuverX 2020-07-28 18:31:29 +02:00
parent 4f606de80f
commit 825722ac4d

View File

@ -77,11 +77,11 @@ public class Inventory implements InventoryModifier, InventoryClickHandler, View
public String setTitle(String title){ public String setTitle(String title){
this.title = title; this.title = title;
OpenWindowPacket packet = new OpenWindowPacket(); OpenWindowPacket packet = new OpenWindowPacket();
packet.windowId = inv.getWindowId(); packet.windowId = getWindowId();
packet.windowType = inv.getInventoryType().getWindowType(); packet.windowType = getInventoryType().getWindowType();
packet.title = title; packet.title = title;
sendPacketToViewersAndSelf(packet); sendPacketToViewersAndSelf(packet);