Skip to content

Commit 59129c0

Browse files
committed
fix: update gamerule name for 1.21.11
1 parent 2f65353 commit 59129c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

smithed_libraries/packs/actionbar/beet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ extend: "@smithed_libraries/common.yaml"
22

33
id: smithed.actionbar
44
name: Smithed Actionbar
5-
version: "0.6.4"
5+
version: "0.6.5"
66
description: Native Actionbar Library for Smithed
77

88
data_pack:

smithed_libraries/packs/actionbar/data/smithed.actionbar/function/impl/vanilla/bed/check_sleep_status.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
execute unless score $is_server smithed.actionbar.temp matches 1.. run function smithed.actionbar:impl/vanilla/bed/get_server_status
88

99
# get required percentage
10-
execute store result score $sleeping_percent smithed.actionbar.temp run gamerule playersSleepingPercentage
10+
execute store result score $sleeping_percent smithed.actionbar.temp run gamerule players_sleeping_percentage
1111

1212
# if over 100, send can't pass night message for all worlds
1313
execute if score $sleeping_percent smithed.actionbar.temp matches 101.. run function #smithed.actionbar:message

0 commit comments

Comments
 (0)