Better limit calculation for previous commit.

This commit is contained in:
MobiusDev 2017-09-12 19:31:38 +00:00
parent 5567d64e02
commit 1bd3873eb3
4 changed files with 4 additions and 4 deletions

View File

@ -527,7 +527,7 @@ public class NpcViewMod implements IBypassHandler
}
}
if ((rightSb.length() + leftSb.length()) < 13000) // limit of 32766
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
{
if (leftHeight >= (rightHeight + height))
{

View File

@ -527,7 +527,7 @@ public class NpcViewMod implements IBypassHandler
}
}
if ((rightSb.length() + leftSb.length()) < 13000) // limit of 32766
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
{
if (leftHeight >= (rightHeight + height))
{

View File

@ -527,7 +527,7 @@ public class NpcViewMod implements IBypassHandler
}
}
if ((rightSb.length() + leftSb.length()) < 13000) // limit of 32766
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
{
if (leftHeight >= (rightHeight + height))
{

View File

@ -527,7 +527,7 @@ public class NpcViewMod implements IBypassHandler
}
}
if ((rightSb.length() + leftSb.length()) < 13000) // limit of 32766
if ((sb.length() + rightSb.length() + leftSb.length()) < 16000) // limit of 32766?
{
if (leftHeight >= (rightHeight + height))
{