fix(houses): Fixes custom house packets (#594)
This commit is contained in:
parent
be9d355b33
commit
00ff4b9247
2 changed files with 45 additions and 52 deletions
|
|
@ -1964,13 +1964,12 @@ namespace Server.Multis
|
|||
}
|
||||
|
||||
public void SendGeneralInfoTo(NetState state) => state.SendDesignStateGeneral(Foundation.Serial, Revision);
|
||||
public void SendDetailedInfoTo(NetState state) => state?.Send(PacketCache ??= SendDetails(Foundation.Serial));
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public byte[] SendDetails(Serial house) => HousePackets.CreateHouseDesignStateDetailed(
|
||||
house,
|
||||
Revision,
|
||||
Components
|
||||
public void SendDetailedInfoTo(NetState state) => state?.Send(
|
||||
PacketCache ??= HousePackets.CreateHouseDesignStateDetailed(
|
||||
Foundation.Serial,
|
||||
Revision,
|
||||
Components
|
||||
)
|
||||
);
|
||||
|
||||
public void FreezeFixtures()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue