Auto-repair condition for daytime can never occur after the first day #16
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
oitsjustjose/TiCon-Addons#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Over here:
http://git.oitsjustjose.com/oitsjustjose/TiCon-Addons/-/blob/master/src/main/java/com/oitsjustjose/tinkers_addons/modifiers/ModAutoRepair.java#L94
you check world.getWorldTime(), which is the absolute time since the world started (so it also effectively encodes the moon phase and what often gets used as a basis for 'date' in some mods). It needs to be % 24000 in order to get the time value within a given day.
While I'm here, is it actually intended that your auto-repair works fastest in the nether?
Thanks, fixed :D
Also yes, it is intended; that's how it worked in TiCon 1. I don't know why, but I wanted to keep relatively original.
¯_(ツ)_/¯
Fair enough. :D