mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Add Missing Getters To OpenHorseWindowPacket
This commit is contained in:
parent
49627dbc45
commit
36fcac3055
1 changed files with 13 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue