
Originally Posted by
iRaged
Does anyone have a fix for placing items on the wall? They won't place for me at the moment.
Search for the following text in Butterfly >> TextHandling
Code:
internal static int Parse(string a)
{
int num = 0;
int num2 = 0;
int length = a.Length;
if (length == 0)
{
return 0;
}
do
{
num2++;
int num4 = a[num2];
if ((num4 < 0x30) || (num4 > 0x3b))
{
return 0;
}
num = ((10 * num) + num4) - 0x30;
}
while (num2 < length);
return num;
}
Replace that function with:
Code:
internal static int Parse(string a)
{
int w = 0, i = 0, length = a.Length, k;
if (length == 0)
return 0;
do
{
k = a[i++];
if (k < 48 || k > 59)
return 0;
w = 10 * w + k - 48;
}
while (i < length);
return w;
}
Goodluck <3