1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
Commit Graph

8338 Commits

Author SHA1 Message Date
renovate[bot]
29bafa56f1
[CI skip] Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.5 2024-02-22 23:11:52 +01:00
renovate[bot]
629a6f6605
[CI skip] Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.12.1 2024-02-22 23:11:40 +01:00
renovate[bot]
a94ab1829b
[CI skip] Update pascalgn/automerge-action action to v0.16.2 2024-02-22 23:11:31 +01:00
J3fftw
3301a77ea9
fix dupe glitch with backpacks (#4134) 2024-02-17 19:32:00 +01:00
Daniel Walsh
bf402068f7
Add new analytics service (#4067)
Co-authored-by: Alessio Colombo <37039432+Sfiguz7@users.noreply.github.com>
2024-02-17 16:23:39 +00:00
Daniel Walsh
8666bbc3d1
Fixes guide search when using colored chat (#4125) 2024-02-16 21:52:10 +00:00
Daniel Walsh
5be4718684
Fixes exhaustion when loading large profiles (#4127) 2024-02-14 15:56:33 +01:00
Daniel Walsh
98bc59efc9
Fixes #4123 - Coal Generator will no longer be locked after researching (#4124)
Due to a logic bug in the Legacy storage backend if there was a duplicate ID it would mark it as researched for the first, then see it researched already and remove it on the second. This was happening for the Coal Generator and Bio Reactor here. Both shared he same research ID 173.

We're just doing this fix for now until we can move away from the legacy backend (work in progress).
2024-02-10 10:43:52 +00:00
Daniel Walsh
86fa6f8900
Add update warning to /sf versions (#4096) 2024-02-10 02:09:44 +00:00
Daniel Walsh
da9c2ac4cc
Move PlayerProfile saving off the main thread (#4119)
* Move PlayerProfile off main thread, add debugs and improve tab completion for debug

Moved the PlayerProfile saving off the main thread, we generally load this off-thread but now we also save off-thread. I thought we were already doing this but apparently not, especially with our current YAML stuff this should definitely be done

Also done a small change to ensure that we don't remove the PlayerProfile from memory if the player is still online. I don't think we ever had a reported issue from this but it's kinda weird behaviour

Finally, added some debug logs to the saving logic, this can be enabled with `sf debug slimefun_player_profile_data`. Also added auto-complete to /sf debug because it's nice, this only works for Slimefun test cases rather than addons but that's fine. Mostly internal anyway

* Update src/main/java/io/github/thebusybiscuit/slimefun4/api/player/PlayerProfile.java

---------

Co-authored-by: Alessio Colombo <37039432+Sfiguz7@users.noreply.github.com>
2024-02-07 09:26:09 +00:00
ybw0014
cd3672c3f2
fix: fix spawn in ArmorStandUtils (#4109) 2024-01-21 14:49:07 +00:00
JustAHuman-xD
31c7c4ead6
Make SlimefunItem#getOptionalByItem static like intended (#4098) 2024-01-20 21:10:17 +00:00
J3fftw
c95bcc927f
fix slimefun blocks turning into vanilla blocks for 1.20.1 and lower (#4105) 2024-01-19 19:57:13 +00:00
ProfElements
7c917c396f
feat(api): Introduce SlimefunItemRegistryFinalizedEvent (#4099)
Co-authored-by: JustAHuman-xD <65748158+JustAHuman-xD@users.noreply.github.com>
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
2024-01-18 14:07:18 +00:00
renovate[bot]
bcdde8c2dc
[CI skip] Update actions/cache action to v4 2024-01-18 15:06:33 +01:00
J3fftw
bcfbd3a598
fix slimefun block turning into a vanilla block if there are viewers (#4101) 2024-01-17 16:26:33 +00:00
renovate[bot]
9fba3f6b05
[CI skip] Update dependency org.mockito:mockito-core to v5.9.0 2024-01-17 17:16:25 +01:00
Daniel Walsh
f7b42a1c62
Update dough to fix item stacking issue (#4100) 2024-01-17 11:26:56 +01:00
J3fftw
6bc1b1f474
fix items not being able to be placed on ancient altar (#4094)
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
2024-01-16 12:08:14 +00:00
J3fftw
eb4d23ec45
Update MockBukkit to 1.20.4 along with existing tests (#4086)
Co-authored-by: J3fftw1 <44972470+J3fftw1@users.noreply.github.com>
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
Co-authored-by: Alessio Colombo <37039432+Sfiguz7@users.noreply.github.com>
2024-01-15 13:40:43 +00:00
Daniel Walsh
1fb27b9327
Fix another bug with interaction fix and add more interaction tests (#4090) 2024-01-14 11:02:31 +00:00
Daniel Walsh
86533a8ec9
Fixes NPE when interacting with air (#4089) 2024-01-13 17:37:57 +01:00
Daniel Walsh
a78cba0711 Fixes #4087
When a block is broken we don't want to allow users to still use the inventory. This allows for them to pull items out along with blocks being dropped (if the block implements that).

    This fix is in 2 parts, the main part is just preventing the inventory from being opened if the block is queued for deletion. The second smaller part is just closing the inventory for all viewers on break. We would do this during cleanup but that was a tick later, we want it done in this tick and to prevent opening before the cleaning up is ran.
2024-01-13 13:53:33 +00:00
Daniel Walsh
81bc94226c Move nonnull annotations to stop causing errors in vscode 2024-01-13 13:53:33 +00:00
Daniel Walsh
92e6dc1d17 Cleanup disabled sensitive block code 2024-01-13 13:53:33 +00:00
Daniel Walsh
158c6eea21
Fix backpack IDs not incrementing (#4081) 2024-01-07 09:19:51 +00:00
Daniel Walsh
4ab638814f
Update dough (#4079) 2024-01-06 15:04:13 +00:00
J3fftw
e33950383c
temporarily diable senstive blocks check (#4077)
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
2024-01-03 19:12:45 +00:00
Daniel Walsh
4d710fa0b1
Storage rewrite - Phase 1 (#4065)
* Phase 1 - wip

* Add some tests

* wip

* Save waypoints

* Implement backpacks

* Add tests for waypoints

* Changes to ADR

* Small changes

* Fix englandish and some small changes to UUID in PlayerProfile

* Fix saving of player data in a few cases

* Documentation around deprecated

* Add some more tests

* Some small doc updates

* Make old Waypoint constructor deprecated and fix javadocs
2024-01-02 12:11:04 +00:00
Silent
dad6020680
Feature/block drop creative (#3934)
Co-authored-by: J3fftw <44972470+J3fftw1@users.noreply.github.com>
Co-authored-by: Silent <boksic420@gmail.com>
2023-12-31 08:58:28 +00:00
Daniel Walsh
6b03850965
Fix contributor head being pullable (#4072) 2023-12-27 02:59:19 +00:00
Daniel Walsh
a56aacd4d6
Update changelog for RC-36 (#4066) 2023-12-19 20:35:26 +00:00
renovate[bot]
9e8758b990
[CI skip] Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.12.0 2023-12-19 21:24:53 +01:00
renovate[bot]
18565eba2e
[CI skip] Update dependency com.gmail.nossr50.mcMMO:mcMMO to v2.1.226 2023-12-19 21:21:01 +01:00
renovate[bot]
bbfb9734b9
[CI skip] fix(deps): update dependency com.sk89q.worldedit:worldedit-bukkit to v7.2.18 2023-12-13 22:49:50 +01:00
renovate[bot]
09d6f64a60
[CI skip] fix(deps): update dependency com.sk89q.worldedit:worldedit-core to v7.2.18 2023-12-13 22:49:34 +01:00
renovate[bot]
9deb0fa6d5
[CI skip] chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.3 2023-12-13 22:49:21 +01:00
JustAHuman-xD
88ac05ff31
Add TalismanActivateEvent (Updated version of #3920) (#4045)
Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
Co-authored-by: Sefiraat <miakis@me.com>
Co-authored-by: J3fftw <44972470+J3fftw1@users.noreply.github.com>
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
Co-authored-by: China Worldstar <40675557+Sniperkaos@users.noreply.github.com>
Co-authored-by: cworldstar <legendaryhacker01@askusabouttaxes.com>
Co-authored-by: Alessio Colombo <37039432+Sfiguz7@users.noreply.github.com>
2023-12-12 21:51:14 +01:00
ybw0014
dd69808355
chore: update download link (#4053)
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
Co-authored-by: J3fftw <44972470+J3fftw1@users.noreply.github.com>
2023-12-11 21:55:26 +00:00
Alessio Colombo
76d96bc6da
Merge pull request #4050 from Slimefun/fix/sensitive_blocks_v2 2023-12-09 18:43:42 +01:00
Alessio Colombo
b38743d713 More comments 2023-12-09 18:36:00 +01:00
Alessio Colombo
b3ff154f24 Import order, comments 2023-12-09 18:30:56 +01:00
Alessio Colombo
6a4b1fe794 Fixed vanilla sensitive blocks 2023-12-09 18:16:34 +01:00
Alessio Colombo
7a65ea940a
Merge pull request #4049 from JustAHuman-xD/revert/sensitive-block-changes 2023-12-09 16:29:44 +01:00
JustAHuman-xD
d35798040c Revert Sensitive Block Changes 2023-12-09 09:03:54 -06:00
J3fftw
d651661370
1.19.3 support (#4039) 2023-12-09 03:39:27 +00:00
Alessio Colombo
ae983c93c2
Merge pull request #4048 from JustAHuman-xD/fix/patch-sensitive-block-issue 2023-12-09 01:03:57 +01:00
JustAHuman-xD
e1d230dcb6 Patch hopefully 2023-12-08 17:47:22 -06:00
Alessio Colombo
123e3b516f
Merge pull request #4044 from JustAHuman-xD/fix/colored-search-term 2023-12-08 21:46:26 +01:00
Alessio Colombo
1a71d834bf
Merge pull request #3966 from iTwins/fix/sensitive_blocks 2023-12-08 21:16:01 +01:00