mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-29 18:34:33 +00:00
Core - Add RootGameRule class
This commit is contained in:
14
PckStudio.Core/GameRule/RootGameRule.cs
Normal file
14
PckStudio.Core/GameRule/RootGameRule.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using OMI.Formats.GameRule;
|
||||
|
||||
namespace PckStudio.Core.GameRule
|
||||
{
|
||||
internal sealed class RootGameRule : AbstractGameRule
|
||||
{
|
||||
protected override GameRuleFile.GameRule GetGameRule() => new GameRuleFile.GameRule("__ROOT__"); //! name is irrelevant
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user