mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 12:03:28 +01:00
0.30.0
This commit is contained in:
parent
b45f9565eb
commit
d2d234a274
3 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="TinyLifeApi" Version="0.29.5" />
|
<PackageReference Include="TinyLifeApi" Version="0.30.0" />
|
||||||
|
|
||||||
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
|
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
|
||||||
<PackageReference Include="Lib.Harmony" Version="2.2.1" />
|
<PackageReference Include="Lib.Harmony" Version="2.2.1" />
|
||||||
|
|
|
@ -16,7 +16,7 @@ public class ExampleModGrassSitAction : MultiAction {
|
||||||
|
|
||||||
protected override IEnumerable<Action> CreateFirstActions() {
|
protected override IEnumerable<Action> CreateFirstActions() {
|
||||||
// we want to walk to the location clicked, so we use the current action info
|
// we want to walk to the location clicked, so we use the current action info
|
||||||
yield return ActionType.GoHere.Construct(this.Info);
|
yield return ActionType.GoHere.Construct<Action>(this.Info);
|
||||||
|
|
||||||
// if multiple things should be done before starting this action, they can all be returned here
|
// if multiple things should be done before starting this action, they can all be returned here
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue