generated from AriasCreations/vsmodtemplate
parent
7120b4083a
commit
e53f26717f
5 changed files with 15 additions and 15 deletions
|
@ -42,10 +42,10 @@ public class RTPFactory
|
|||
bPos.Y = i;
|
||||
curBlock = iswa.BlockAccessor.GetBlock(bPos);
|
||||
|
||||
if (curBlock != null && !curBlock.IsLiquid() && curBlock.MatterState == EnumMatterState.Solid)
|
||||
if (curBlock.MatterState == EnumMatterState.Solid)
|
||||
{
|
||||
if (lastBlock != null && lastBlock.MatterState == EnumMatterState.Gas &&
|
||||
lastAboveLast != null && lastAboveLast.MatterState == EnumMatterState.Gas)
|
||||
if (lastBlock != null && lastBlock.BlockMaterial == EnumBlockMaterial.Air &&
|
||||
lastAboveLast != null && lastAboveLast.BlockMaterial == EnumBlockMaterial.Air)
|
||||
{
|
||||
// Found a valid spot: curBlock is solid, lastBlock & lastAboveLast are gas (air)
|
||||
PPos.X = bPos.X;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"modid": "ariasserverutils",
|
||||
"name": "Aria's Server Utilities",
|
||||
"authors": ["zontreck"],
|
||||
"description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 4:58 PM MST",
|
||||
"version": "1.0.4-dev.6",
|
||||
"description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 5:13 PM MST",
|
||||
"version": "1.0.4-dev.7",
|
||||
"dependencies": {
|
||||
"game": ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue