Commit Graph

78 Commits

Author SHA1 Message Date
nossr50
377bf1be4d Tree Feller non-wood drop rate reduced by 90% 2024-01-16 12:49:42 -08:00
nossr50
009d809d76 Fix bug with Excavation drop rate and misc mysql changes 2024-01-15 10:19:03 -08:00
nossr50
04c9db88ab more h2 compatibility stuff 2024-01-03 01:29:37 -08:00
nossr50
a941a1cc7f kill child.yml and more work on sql unit tests 2023-12-27 22:52:51 -08:00
nossr50
b0efd46584 starting work on sql unit tests 2023-12-27 21:14:14 -08:00
nossr50
5f63faf65d Unit test refactor 2023-12-22 11:37:17 -08:00
nossr50
7973ccc848 Update FlatFile for new skill cds 2023-12-22 11:05:26 -08:00
nossr50
23b8e0a28c Add BowType metadata 2023-12-20 16:53:20 -08:00
nossr50
72957c3d31 Add XP test for Woodcutting 2023-04-19 14:13:17 -07:00
nossr50
534b22233d More work on Xbows/Tridents 2023-04-11 03:16:24 -07:00
nossr50
2c49f8ffeb Fixed failing tests + improved support for Xbows/Tridents 2023-04-08 16:30:32 -07:00
nossr50
8bb50fb53c Add Tridents/Xbows (WIP) 2023-04-03 17:57:33 -07:00
nossr50
6845fb4c44 Fix some bugs with new Probability type and unit tests 2023-03-26 13:41:31 -07:00
nossr50
36adde7b3d Added some unit tests for double drops, fixed bug with bonus drops 2023-03-19 20:18:17 -07:00
nossr50
12fb4a3679 Refactor probability tests a little bit 2022-12-18 17:08:36 -08:00
nossr50
4a5e3542ef Add static chance skills to probability unit tests 2022-12-18 16:49:30 -08:00
nossr50
59f711834b Refactor Probability API a bit 2022-12-18 16:02:43 -08:00
nossr50
7f66d27141 Rename test 2022-12-18 15:06:44 -08:00
nossr50
11cf882830 Probability factory should live within the interface 2022-12-18 15:04:59 -08:00
nossr50
05c86f1125 Add some unit tests for new RNG dice rolls 2022-12-11 15:38:04 -08:00
nossr50
bb44e56bdb Merge master into endgame branch to prepare merge for beta 2.2.000 update 2022-12-04 15:58:23 -08:00
nossr50
5ab55c1653 mcMMO will no longer use the DamageModifier API (potentially fix immortal player bug) 2022-03-17 19:58:42 -07:00
nossr50
c21a040ddb Huge changes to how config files are loaded/updated, fixes many issues
Fixes #4715
2022-01-10 22:29:22 -08:00
nossr50
dd550feb65 Update BlockTracker to use Spigot API directly instead of compatibility
layer
Fixes #4692 Fixes #4698
2021-12-27 11:09:27 -08:00
nossr50
11245e87ef squelch ChunkStoreTest log output 2021-12-11 20:57:25 -08:00
nossr50
8d27e8fccf 2.1.205 2021-11-14 09:33:27 -08:00
TheBusyBiscuit
2c849d9cb4
Added a Unit Test for mc version detection (#4560)
* Added a Unit Test for mc version detection

* Merge upstream and update server software string
2021-07-05 16:02:46 -07:00
TheBusyBiscuit
e35bfe758c
Update to Junit5 and allow for mcMMO to be compiled on Java 16 (#4552)
* Updated all unit tests to Junit5 and removed Powermock

* Some formatting

* I did not mean to commit this file

* Fixed file ending

* We don't need these extra dependencies

* Replaced delegate with Junit5 assertThrows

* Revert this change

* Re-add mockito-core

* A bit more refactoring

* Update surefire and remove failsafe

* Updated Mockito

* Add failsafe back

* Bump Mockito to 3.11.2

They literally just released that.
2021-06-21 09:21:55 -07:00
nossr50
7e28799f94 Fix SQL on 1.17 (hacky) and optimized CompatibilityManager 2021-06-15 14:19:30 -07:00
nossr50
0d2f370185 Update our dependencies to their latest versions (where possibly)
Also adds Guava as a dependency as version upgrading our dependencies resulted in the loss of the included Guava libraries
2021-04-23 15:08:57 -07:00
nossr50
e4b8b74987 Optimize imports 2021-04-23 10:37:22 -07:00
nossr50
9e7bb12dc3 Also avoid issues in this test by mocking instead of implementing an ever changing interface 2021-04-23 10:34:00 -07:00
nossr50
95c291d630 Avoid the pitfalls of implementing an everchanging interface from a SNAPSHOT 2021-04-23 10:30:26 -07:00
nossr50
a844f27093 Fix mistakes 2021-04-18 17:28:27 -07:00
nossr50
2c44590c52 world bounds tweak 2021-04-18 17:21:37 -07:00
nossr50
16f79b9fbc Locale override now uses a specific file instead of weird name matching 2021-04-16 13:50:41 -07:00
nossr50
04459f1ea7 Fix leaderboards & fix override locale bug
Fixes #4493 Fixes #4492
2021-04-16 09:55:44 -07:00
nossr50
8fdc611fb0 Add some code to a test to check for user names being updated 2021-04-15 14:48:24 -07:00
nossr50
48de5057a4 Fix another bug where usernames can be saved as null for FlatFileDB 2021-04-15 14:43:37 -07:00
nossr50
e42eeb1dc4 Fix FlatFile leaderboards not working in certain situations + added leaderboards unit test 2021-04-15 11:53:23 -07:00
nossr50
bb57e6d464 actually a radius now.. although not really 2021-04-14 16:38:19 -07:00
nossr50
700a7f4d35 Fix ArrayIndexOutOfBounds for certain events due to spigot API bug
Fixes #4488
2021-04-14 16:34:43 -07:00
nossr50
22b24b4774 JUnit 5 time 2021-04-13 17:25:56 -07:00
nossr50
d9e195f63a Add a newUser test 2021-04-13 15:22:21 -07:00
nossr50
e6239936d2 Add lastlogin tests 2021-04-13 13:40:24 -07:00
nossr50
f7339277f8 Add more tests, fix null name bug 2021-04-13 12:41:23 -07:00
nossr50
5b4af3f9ce Add loadFromFile test 2021-04-12 16:59:35 -07:00
nossr50
9f22cef175 More tests 2021-04-12 13:18:41 -07:00
nossr50
85f3221a60 FlatFileDataProcessor will handle fixing and repairing the data 2021-04-12 12:55:31 -07:00
nossr50
60013c710b Add more tests to FlatFileDatabaseManagerTest 2021-04-12 09:33:43 -07:00