Add Missing Getters To OpenHorseWindowPacket

This commit is contained in:
Paul Heidenreich 2019-04-28 11:58:38 +02:00
parent 49627dbc45
commit 36fcac3055

View file

@ -21,7 +21,19 @@ public class ServerOpenHorseWindowPacket extends MinecraftPacket {
this.numberOfSlots = numberOfSlots;
this.entityId = entityId;
}
public int getWindowId() {
return windowId;
}
public int getNumberOfSlots() {
return numberOfSlots;
}
public int getEntityId() {
return entityId;
}
@Override
public void read(NetInput in) throws IOException {
windowId = in.readByte();