private static IsPlayerInChest ( int i ) : bool | ||
i | int | |
return | bool |
private static bool IsPlayerInChest(int i)
{
for (int index = 0; index < 255; ++index)
{
if (Main.player[index].chest == i)
return true;
}
return false;
}