Skip to content

Commit

Permalink
1.0.75.721
Browse files Browse the repository at this point in the history
- Fixed a null reference error when world is null / not ready.
  • Loading branch information
SphereII committed Sep 8, 2024
1 parent 3303f6d commit 2568ed6
Show file tree
Hide file tree
Showing 23 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public override int GetLength() {
}

public override void ProcessPackage(World world, GameManager callbacks) {
var block = GameManager.Instance.World.GetBlock(_position);
if (world == null) return;
var block = world.GetBlock(_position);
if (block.Block is BlockWaterSourceSDX waterSourceSdx)
{
waterSourceSdx.ToggleSprinkler(_position, _isEnabled);
Expand Down
2 changes: 1 addition & 1 deletion Mods/0-SCore/ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<Description value="SCore Mod" />
<DisplayName value="0-SCore" />
<Website value="" />
<Version value="1.0.72.659" />
<Version value="1.0.75.721" />
</xml>
4 changes: 2 additions & 2 deletions Mods/0-SCore/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
// [assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("20.0.*")]

[assembly: AssemblyVersion("1.0.72.0659")]
[assembly: AssemblyFileVersion("1.0.72.0659")]
[assembly: AssemblyVersion("1.0.75.0721")]
[assembly: AssemblyFileVersion("1.0.75.0721")]
4 changes: 4 additions & 0 deletions Mods/0-SCore/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Direct Download to the 0-SCore.zip available on gitlab mirror:
### Change Logs

[ Change Log ]
Version: 1.0.75.721
[ Farming ]
- Fixed a null reference error when world is null / not ready.

Version: 1.0.72.659
[ Process Options ]
- Added additional checks again a player being null or being on dedi.
Expand Down
Binary file modified Mods/0-SCore/SCore.dll
Binary file not shown.
Binary file modified Mods/0-SCore/SCore.pdb
Binary file not shown.
Binary file modified Mods/CompoPackTweaks/CompoPackTweaks.dll
Binary file not shown.
Binary file modified Mods/CompoPackTweaks/CompoPackTweaks.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Mods/SampleProject/ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<Description value="Sample Project Mod"/>
<DisplayName value="Sample Project"/>
<Website value=""/>
<Version value="1.0.0.37172"/>
<Version value="1.0.0.13249"/>
</xml>
Binary file modified Mods/SampleProject/SampleProject.dll
Binary file not shown.
Binary file modified Mods/SampleProject/SampleProject.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Mods/SphereII A Better Life/ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<Description value="SphereII A Better Life, adding fish and birds to the game."/>
<DisplayName value="A Better Life"/>
<Website value=""/>
<Version value="1.0.19.1554"/>
<Version value="1.0.29.722"/>
</xml>
4 changes: 2 additions & 2 deletions Mods/SphereII A Better Life/Properties/versionTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("1.0.19.1554")]
[assembly: AssemblyFileVersion("1.0.19.1554")]
[assembly: AssemblyVersion("1.0.29.722")]
[assembly: AssemblyFileVersion("1.0.29.722")]
Binary file not shown.
Binary file not shown.
Binary file modified Mods/SphereII Disable Sway/SphereII_Disable_Sway.dll
Binary file not shown.
Binary file modified Mods/SphereII Disable Sway/SphereII_Disable_Sway.pdb
Binary file not shown.
Binary file modified Mods/SphereII Larger Parties/SphereII Larger Parties.dll
Binary file not shown.
Binary file modified Mods/SphereII Larger Parties/SphereII Larger Parties.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Mods/SphereII Legacy Distant Terrain/ModInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<DisplayName value="SphereII Legacy Distant Terrain"/>
<Description value="Re-enables Legacy Distant Terrain"/>
<Author value="sphereii"/>
<Version value="20.0.948.1057"/>
<Version value="20.0.981.724"/>
<Website value=""/>
</xml>
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("20.0.948.1057")]
[assembly: AssemblyFileVersion("20.0.948.1057")]
[assembly: AssemblyVersion("20.0.981.724")]
[assembly: AssemblyFileVersion("20.0.981.724")]
Binary file not shown.
Binary file not shown.

0 comments on commit 2568ed6

Please sign in to comment.