Skip to content

Commit

Permalink
fix: update config for land economy calculation formula and mob spawn…
Browse files Browse the repository at this point in the history
… event listener
  • Loading branch information
engsr6982 committed Feb 19, 2025
1 parent ab1c58a commit b0cc95e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"allowPlace": "允许放置(方块、头颅、旗帜、等)",
"allowAttackPlayer": "允许攻击玩家",
"allowAttackAnimal": "允许攻击动物",
"allowAttackMob": "允许攻击实体(非动物)",
"allowAttackMonster": "允许攻击怪物",
"allowOpenChest": "允许打开箱子",
"allowPickupItem": "允许拾取物品",
"allowThrowSnowball": "允许投掷雪球",
Expand Down
8 changes: 4 additions & 4 deletions include/pland/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace land {
enum class EconomyKit : int { LegacyMoney, ScoreBoard };

struct Config {
int version{5};
int version{6};
ll::io::LogLevel logLevel{ll::io::LogLevel::Info};

struct {
Expand Down Expand Up @@ -39,12 +39,12 @@ struct Config {
struct {
struct {
bool enabled{true};
string calculate{"square * 25"}; // 计算公式
string calculate{"square * 8 + height * 20"}; // 计算公式
} threeDimensionl;

struct {
bool enabled{true};
string calculate{"square * 8 + height * 20"}; // 计算公式
string calculate{"square * 25"}; // 计算公式
} twoDimensionl;

struct {
Expand Down Expand Up @@ -91,7 +91,7 @@ struct Config {
bool SculkBlockGrowthBeforeEvent{true}; // 诡秘方块生长事件
bool SculkSpreadBeforeEvent{true}; // 诡秘蔓延事件
bool PlayerEditSignBeforeEvent{true}; // 玩家编辑告示牌事件
bool SpawnedMobEvent{false}; // 生物生成事件(怪物和动物)
bool SpawnedMobEvent{true}; // 生物生成事件(怪物和动物)
bool SculkCatalystAbsorbExperienceBeforeEvent{false}; // 幽匿催化体吸收经验事件
} listeners;

Expand Down

0 comments on commit b0cc95e

Please sign in to comment.