Separate game rule enabling and game rule starting (#6168)

This commit is contained in:
mirrorcult
2022-02-15 20:06:28 -07:00
committed by GitHub
parent e427381be6
commit 3abc7a443e
13 changed files with 125 additions and 52 deletions

View File

@@ -9,12 +9,12 @@ public class SandboxRuleSystem : GameRuleSystem
public override string Prototype => "Sandbox";
public override void Added()
public override void Started()
{
_sandbox.IsSandboxEnabled = true;
}
public override void Removed()
public override void Ended()
{
_sandbox.IsSandboxEnabled = false;
}