• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

First Machine Age's Mods (Combined repo.)


Commit MetaInfo

Révisiond2ac4f5e9d3e1120bd0bfa81a01329390cbdf0f8 (tree)
l'heure2022-11-03 02:47:01
Auteurmelchior <melchior@user...>
Commitermelchior

Message de Log

Defensive stuff V1.17, minor update

Change Summary

Modification

--- a/Assorted/BlockClasses/BoltableDoor.cs
+++ b/Assorted/BlockClasses/BoltableDoor.cs
@@ -181,7 +181,7 @@ namespace FirstMachineAge
181181 IBlockAccessor ba = world.BlockAccessor;
182182
183183
184- if (ba.GetBlockId(upperPos) == 0 && CanPlaceBlock(world, byPlayer, blockSel, ref failureCode)) {
184+ if (ba.GetBlock(upperPos, BlockLayersAccess.SolidBlocks).BlockId == 0 && CanPlaceBlock(world, byPlayer, blockSel, ref failureCode)) {
185185 BlockFacing[ ] horVer = SuggestedHVOrientation(byPlayer, blockSel);
186186
187187 AssetLocation downBlockCode = CodeWithVariants(new Dictionary<string, string>( ) {
--- a/Assorted/modinfo.json
+++ b/Assorted/modinfo.json
@@ -3,10 +3,10 @@
33 "name": "Defensive Structures",
44 "description" : "Defensive structures & barriers; ideal for outposts, castles, forts...",
55 "authors": ["Melchior"],
6- "version": "0.1.6",
6+ "version": "0.1.7-pr.0",
77 "ModID":"defensive",
88 "dependencies": {
9- "game": "1.16.0",
9+ "game": "1.17.0",
1010 "survival": ""
1111 },
1212 "website": "http://noname.nope"