Update GetDataHandlers.cs
This commit is contained in:
parent
6e4b6e1f5e
commit
ecb1a8a4e7
1 changed files with 8 additions and 0 deletions
|
|
@ -2316,6 +2316,14 @@ namespace TShockAPI
|
|||
{
|
||||
var player = args.Player;
|
||||
var size = args.Data.ReadInt16();
|
||||
|
||||
var changeType = TileChangeType.None;
|
||||
bool hasChangeType = ((size & 0x7FFF) & 0x8000) != 0;
|
||||
if (hasChangeType)
|
||||
{
|
||||
changeType = (TileChangeType)args.Data.ReadInt8();
|
||||
}
|
||||
|
||||
var tileX = args.Data.ReadInt16();
|
||||
var tileY = args.Data.ReadInt16();
|
||||
var data = args.Data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue