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

8359 Commits

Author SHA1 Message Date
Alessio Colombo
45601c8aef
[ci skip] Actually check if the negative tests do their job (#4054)
* Actually check if the negative tests do their job

* Changed comments

* walshys suggestion

---------

Co-authored-by: JustAHuman-xD <65748158+JustAHuman-xD@users.noreply.github.com>
2024-04-07 04:10:14 +01:00
Daniel Walsh
03e5b9ab1e
Fixes Javadocs build & adds workflow to ensure no more breakages (#4168) 2024-04-05 20:36:56 +01:00
Alessio Colombo
f4581e4d9e
Updated dough to latest (#4165)
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
2024-03-28 12:58:04 +00:00
ybw0014
e38e9ec69f
fix: set hover event to null for texts after update warning (#4143) 2024-03-22 00:45:45 +00:00
Alessio Colombo
d51c82e1c0
Update dough (#4159) 2024-03-06 20:59:42 +01:00
Daniel Walsh
b841828454
Remove Unirest and replace with Java's native HttpClient (#4068)
Co-authored-by: J3fftw <44972470+J3fftw1@users.noreply.github.com>
2024-02-25 18:24:21 +00:00
Daniel Walsh
070d72f9ea
Fix publish build using short hash
Apparently GitHub Actions does not like this? Thought I had used this previously but alright
2024-02-25 18:03:02 +00:00
J3fftw
bc3c5e3105
Fix ToC in CHANGELOG (#4150) 2024-02-25 17:57:53 +00:00
J3fftw
f83dbb5c12
[ci skip] Update release candidates file (#4149) 2024-02-25 17:46:55 +00:00
Daniel Walsh
a8a4ae91cf
[ci skip] Add blob builds workflow (#4145) 2024-02-25 16:41:25 +00:00
J3fftw
d528884609
update changelog && revert dependency update (#4142)
* update changelog && revert dependency update

* Update CHANGELOG.md

---------

Co-authored-by: Daniel Walsh <walshydev@gmail.com>
2024-02-25 17:26:00 +01:00
renovate[bot]
20486fb959
[CI skip] Update dependency com.gmail.nossr50.mcMMO:mcMMO to v2.1.230 2024-02-23 11:03:24 +01:00
renovate[bot]
98786cbbae
[CI skip] Update hmarr/auto-approve-action action to v4 2024-02-23 11:03:01 +01:00
renovate[bot]
f7ba08d9f7
[CI skip] Update GitHub Artifact Actions to v4 (major) 2024-02-23 11:02:40 +01:00
renovate[bot]
53b365db50
[CI skip] Update dependency com.sk89q.worldedit:worldedit-core to v7.2.19 2024-02-22 23:37:54 +01:00
renovate[bot]
3d30c51c20
[CI skip] Update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.2 2024-02-22 23:37:45 +01:00
renovate[bot]
206a9d6f53
[CI skip] Update dependency com.sk89q.worldedit:worldedit-bukkit to v7.2.19 2024-02-22 23:30:40 +01:00
renovate[bot]
542ec4e827
[CI skip] Update dependency com.gmail.nossr50.mcMMO:mcMMO to v2.1.229 2024-02-22 23:12:55 +01:00
renovate[bot]
6502d30d2d
[CI skip] Update dependency org.junit.jupiter:junit-jupiter to v5.10.2 2024-02-22 23:12:27 +01:00
renovate[bot]
c794301ac8
[CI skip] Update thollander/actions-comment-pull-request action to v2.5.0 2024-02-22 23:12:20 +01:00
renovate[bot]
4dcd73bed3
[CI skip] Update dependency org.mockito:mockito-core to v5.10.0 2024-02-22 23:12:04 +01:00
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