workaround for buggy noclip detection when player is wet
This commit is contained in:
parent
4bfdcb7dab
commit
83fae7e4f3
1 changed files with 10 additions and 0 deletions
|
|
@ -472,6 +472,16 @@ namespace TShockAPI
|
|||
{
|
||||
num4 = Main.maxTilesY;
|
||||
}
|
||||
for (int c = num; c < num2; c++)
|
||||
{
|
||||
for (int d = num3; d< num4; d++)
|
||||
{
|
||||
if (Main.tile[c,d].liquid != 0)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (int i = num; i < num2; i++)
|
||||
{
|
||||
for (int j = num3; j < num4; j++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue