fix: FlippableAttribute with empty list will crash the client (#1563)
This commit is contained in:
parent
4d8e9fc515
commit
a4e2226a5c
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public class FlippableAttribute : Attribute
|
|||
|
||||
public virtual void Flip(Item item)
|
||||
{
|
||||
if (ItemIDs == null)
|
||||
if (ItemIDs == null || ItemIDs.Length == 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue