Skip to content

Commit

Permalink
Wheee
Browse files Browse the repository at this point in the history
Sorry for using fireblanket like this ^^'
  • Loading branch information
TheEpicBlock committed Feb 9, 2024
1 parent 0ace777 commit 3d8c7d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.4+build.1
loader_version=0.15.1

# Mod Properties
mod_version=0.4.4
mod_version=0.4.5
maven_group=net.modfest
archives_base_name=fireblanket

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected ChangeHowSleepTimeWorks(MutableWorldProperties properties, RegistryKey
@ModifyArg(method = "tick", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)V"))
long changeSleep(long input) {
if (this.isDay()) {
return input - 24000L;
return this.properties.getTimeOfDay();
}
return input;
}
Expand Down

0 comments on commit 3d8c7d2

Please sign in to comment.