Skip to content

Commit

Permalink
[Port] Update to b1.3_01 (v2.5.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
CDAGaming committed Oct 11, 2024
1 parent 390a51c commit 18bbf56
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -615,22 +615,22 @@ public void initPresence() {

// World Time Arguments
syncArgument("world.time.day", () ->
TimeUtils.fromWorldTime(CraftPresence.world.getWorldTime()).getFirst()
TimeUtils.fromWorldTime(CraftPresence.world.func_22139_r()).getFirst()
);
syncArgument("world.time.format_24", () ->
TimeUtils.toString(
TimeUtils.fromWorldTime(CraftPresence.world.getWorldTime()).getSecond(),
TimeUtils.fromWorldTime(CraftPresence.world.func_22139_r()).getSecond(),
"HH:mm"
)
, true);
syncArgument("world.time.format_12", () ->
TimeUtils.toString(
TimeUtils.fromWorldTime(CraftPresence.world.getWorldTime()).getSecond(),
TimeUtils.fromWorldTime(CraftPresence.world.func_22139_r()).getSecond(),
"HH:mm a"
)
, true);
syncArgument("data.world.time.instance", () ->
TimeUtils.fromWorldTime(CraftPresence.world.getWorldTime())
TimeUtils.fromWorldTime(CraftPresence.world.func_22139_r())
);

// Default Arguments
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ enabled_platforms=fabric,modloader
isLegacy=true
isJarMod=true
# Mapping Info
mc_mappings=3.0-b1.4_01
mc_mappings=2.9a-b1.3_01
mc_mappings_type=mcp
mc_version=b1.4_01
mc_protocol=10
mc_version=b1.3_01
mc_protocol=9
display_version=
# Fabric Info
fabric_loader_version=0.16.5
fabric_api_version=
fabric_game_version_range=*
fabric_loader_version_range=>=0.13.0
# Forge Info
forge_version=b1.4_01
forge_version=b1.3_01+build.5
fml_version_range=
forge_game_version_range=b1.4_01
forge_game_version_range=b1.3_01
forge_loader_version_range=
# Deployment Info
versionId=2.5.1
Expand Down

0 comments on commit 18bbf56

Please sign in to comment.