generated from AriasCreations/vsmodtemplate
parent
403f18c020
commit
7120b4083a
3 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@ public class RTPFactory
|
|||
BlockPos bPos = new BlockPos(isp.Entity.Pos.Dimension);
|
||||
IServerWorldAccessor iswa = isp.Entity.World as IServerWorldAccessor;
|
||||
|
||||
int tries = 5;
|
||||
int tries = 10;
|
||||
PlayerPosition PPos = PlayerPosition.from(isp.Entity);
|
||||
|
||||
while (tries-- > 0)
|
||||
|
@ -37,7 +37,7 @@ public class RTPFactory
|
|||
Block curBlock;
|
||||
|
||||
// Scan downwards to find a valid landing spot
|
||||
for (int i = 255; i > 50; i--)
|
||||
for (int i = 255; i > 25; i--)
|
||||
{
|
||||
bPos.Y = i;
|
||||
curBlock = iswa.BlockAccessor.GetBlock(bPos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue