mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-17 11:21:53 +00:00
Core - Add LevelRules class
This commit is contained in:
@@ -40,7 +40,7 @@ namespace PckStudio.Core
|
||||
new GameRuleFile.IntParameter("mapSize", (int)mapSize),
|
||||
new GameRuleFile.IntParameter("themeId", 0)
|
||||
);
|
||||
LevelRules = Grf.AddRule("LevelRules", [new GameRuleFile.IntParameter("ruleType", (int)miniGame)]);
|
||||
LevelRules = Grf.AddRule(GameRule.LevelRules.GetLevelRules(miniGame));
|
||||
|
||||
World = world;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user