You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presumably this means that hanging dates (e.g. moretrees:dates_f4) should drop between 4 and 20 individual dates (i.e. moretrees:date).
For reasons I can't explain, this is not what happens. If you have 0 individual dates in your inventory, you get 1 date. If you have 1 or more dates in your inventory, you get no dates at all.
I experimented with changing the code to this, which behaves exactly as expected:
It works correctly in my testing, so I'm guessing it's either an alias issue (looking at unilib:fruit_date in your fix), or you're testing it in creative, which would cause that behavior.
Sorry for the formatting. I don't know why Github can't handle a newline character.
It needs three backticks for multiline code, I fixed it up for you :)
Hanging dates, when dropped, produce individual dates. In
date_palm.lua
:moretrees/date_palm.lua
Lines 680 to 699 in cbe846d
Presumably this means that hanging dates (e.g.
moretrees:dates_f4
) should drop between 4 and 20 individual dates (i.e.moretrees:date
).For reasons I can't explain, this is not what happens. If you have 0 individual dates in your inventory, you get 1 date. If you have 1 or more dates in your inventory, you get no dates at all.
I experimented with changing the code to this, which behaves exactly as expected:
Sorry for the formatting. I don't know why Github can't handle a newline character.
The text was updated successfully, but these errors were encountered: