-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hunting and deforestation support. #1083
Conversation
implement drop woods when attacking tree
implement drop woods when attacking tree
implement drop woods when attacking tree
src/main/java/emu/grasscutter/server/packet/recv/HandlerHitTreeNotify.java
Outdated
Show resolved
Hide resolved
Map's KEY is automatic expire if key long time no use (query or modify from HashMap)
I want to confirm that |
|
src/main/java/emu/grasscutter/server/packet/recv/HandlerHitTreeNotify.java
Outdated
Show resolved
Hide resolved
src/main/java/emu/grasscutter/server/packet/recv/HandlerHitTreeNotify.java
Outdated
Show resolved
Hide resolved
src/main/java/emu/grasscutter/server/packet/recv/HandlerHitTreeNotify.java
Outdated
Show resolved
Hide resolved
src/main/java/emu/grasscutter/game/managers/DeforestationManager/HitTreeRecord.java
Outdated
Show resolved
Hide resolved
src/main/java/emu/grasscutter/game/managers/DeforestationManager/DeforestationManager.java
Outdated
Show resolved
Hide resolved
Deforestation works on my machine, haven't seen any meat drop from boars or small birds yet. |
delete /data/drop.json in order to update new one. |
hahaha deforestation support |
It sounds I am a bad girl :( |
aha, completely forgot about that |
src/main/java/emu/grasscutter/server/packet/recv/HandlerHitTreeNotify.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
* add drops for animals wild pig,fishes,foxes,birds * append fox * Deforestation Support implement drop woods when attacking tree * Deforestation support (remove prints) implement drop woods when attacking tree * Deforestation support (remove prints) implement drop woods when attacking tree * add AutoRecycleHashMap Map's KEY is automatic expire if key long time no use (query or modify from HashMap) * use AutoRecycleHashMap in case of memory leak * fix bug * remove prints * static AutoRecycleHashMap * fix problems * Delete AutoRecycleHashMap.java * remove log * fix build * improve * remove unnecessary information Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com> Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
Description
implement woods or meat dropped when attacking tree or animal
Issues fixed by this PR
#1071
Type of changes
Checklist: