Commit Graph

4024 Commits

Author SHA1 Message Date
tastybento
6a5ea171be
Merge pull request #2182 from BentoBoxWorld/gitlocalize-26016
Few RU translations
2023-09-01 14:35:38 -07:00
tastybento
d6978ce0f6 Translate ru.yml via GitLocalize 2023-09-01 21:33:37 +00:00
tastybento
e23207df2f
Merge pull request #2181 from BentoBoxWorld/ru-translation
Update ru.yml
2023-09-01 14:28:46 -07:00
tastybento
0f6d5af1f8
Update ru.yml
New translation provided by @Moltanicaa https://github.com/Moltanicaa
2023-09-01 14:25:07 -07:00
BONNe
da2daae990
Fixes a bug with incorrectly indexed pages +1 (#2178)
* Fixes incorrect element displays in pages 1+.

The issue was introduced by #585f720f6f4a7e9480af5065469c92e23e5a987e which reduced complexity too much.

Fixes #2177

* Reformat and reduce complexity properly.

* Rework logic for getting number of same button types in the panel

* Add more comments.

* Add proper deprecated annotation.
2023-08-29 21:19:33 +03:00
tastybento
aed78038ef Fix issue with NPE when Op does Command Ranks and does not own island
Related to #2170

Added a test class for CommandRankClickListener and reworked the logic.
2023-08-17 20:42:17 -07:00
tastybento
1228da131f
Merge pull request #2167 from BentoBoxWorld/ready_commands
Adds a config section in BentoBox to run commands when it is loaded
2023-08-15 17:26:34 -07:00
tastybento
08d73f232b Adds a config section in BentoBox to run commands when it is loaded
Commands are run as console.
2023-08-15 17:25:26 -07:00
tastybento
06ccb8a5e0 Fixed issue with demoting or promoting above yourself.
Addresses #2164

Added test class to check command. Added new error text.
2023-08-10 21:57:41 -07:00
tastybento
768988e803 Revert "Update ADDON.md - added Parkour"
This reverts commit fd91ab596b.
2023-08-06 09:18:45 -07:00
tastybento
fd91ab596b
Update ADDON.md - added Parkour 2023-08-06 09:16:15 -07:00
tastybento
397f9e4700 Added more JavaDoc for API usage 2023-08-01 09:43:47 -07:00
tastybento
1b2748f920 Version 1.24.2 2023-08-01 09:43:31 -07:00
tastybento
78092aa3e9
Merge pull request #2158 from BentoBoxWorld/develop
Version 1.24.1
2023-07-29 11:40:08 -07:00
tastybento
475e67c447 Revert "Refactor YamlDatabaseHandler to reduce continue statements"
This reverts commit fec43adc35.
2023-07-24 18:27:06 -07:00
tastybento
2ad7796582 Refactor to reduce complexity 2023-07-22 16:20:21 -07:00
tastybento
3e1dc81592 Minor code smell reduction 2023-07-22 16:03:55 -07:00
tastybento
fec43adc35 Refactor YamlDatabaseHandler to reduce continue statements
in a loop to just one.
2023-07-22 15:52:15 -07:00
tastybento
7a21aba3a8 Added more JavaDoc to ConfirmableCommand 2023-07-22 12:00:43 -07:00
tastybento
62a3a8d6fa Fixed NPE when getting UUID for unknown name.
Added test methods for PlayersManager
2023-07-22 12:00:10 -07:00
tastybento
1a0a314ece Added ClosestSafeSpotTeleport class
Removed code from the main class that was not being used. e.g.,
failureRunnable.
2023-07-20 15:09:14 -07:00
tastybento
2512a892fd Added clearInline Mocks just in case. 2023-07-20 00:38:58 -07:00
tastybento
850939f3a8 Fix issue were glow was not removed.
If glow was applied to a panel item, but then the glow setting was set
to false, the glow was not removed from the panel item.

Relates to https://github.com/BentoBoxWorld/AOneBlock/issues/326
2023-07-20 00:27:27 -07:00
tastybento
8ce78c8fe0 Added DefaultPasteUtil test class 2023-07-15 17:55:48 -07:00
tastybento
2dfd136591 Added test class 2023-07-15 16:55:59 -07:00
tastybento
357a8fdc5f Added test class for BlueprintEntity 2023-07-15 16:45:51 -07:00
tastybento
a0b349ec27 Complexity reduction 2023-07-15 16:27:31 -07:00
tastybento
585f720f6f Reduce complexity 2023-07-10 22:48:33 -07:00
tastybento
a6bb78c80f Refactor to reduce complexity 2023-07-10 22:25:30 -07:00
tastybento
c5baa1d0eb Refactor to reduce complexity 2023-07-10 22:08:02 -07:00
tastybento
988ace8329 Update to latest Jacoco 2023-07-10 21:18:58 -07:00
tastybento
170c31fcec Judge location of damage by location of entity not user 2023-07-09 15:07:37 -07:00
tastybento
211d636bfb Remove dependency on apache util 2023-07-08 15:02:50 -07:00
tastybento
4ef974fbde Better error for unknown icon material, and test class 2023-07-08 08:52:20 -07:00
tastybento
9a464ab795 Minor refactor - use containsKey method. 2023-07-08 08:39:56 -07:00
tastybento
39a6fc5006 Refactor, use if statements instead of switches 2023-07-08 08:39:00 -07:00
tastybento
325c9c2351 JavaDoc fix 2023-07-08 08:38:30 -07:00
tastybento
30d29c6ff9 Refactor: Merge switch values 2023-07-08 08:38:20 -07:00
tastybento
2c8db2a797 Use any() which now is a varArg tester. Remove deprecation 2023-07-08 08:37:10 -07:00
tastybento
df45fca562 Refactor - merge List creation and addAll into one 2023-07-08 08:36:29 -07:00
tastybento
df6fb7d716 Fix JavaDoc 2023-07-08 08:35:31 -07:00
tastybento
54139b60f0 Remove unneeded return 2023-07-08 08:35:22 -07:00
tastybento
74a2e9d3c8 Change OP to op 2023-07-08 08:33:51 -07:00
tastybento
5953df9dbb Version 1.24.1 2023-07-08 08:33:24 -07:00
tastybento
363b23a049
Merge pull request #2152 from BentoBoxWorld/develop
Version 1.24.0
2023-07-03 16:27:37 -07:00
tastybento
9334858675 Added IslandDeletehomeCommand test class 2023-07-03 16:11:37 -07:00
tastybento
7d25aff28f Added test class for DefaultPlayerCommand 2023-07-02 15:52:20 -07:00
tastybento
f47e87af82 Added test class for PanelItem 2023-07-02 15:10:23 -07:00
tastybento
6d3349a0f9
Merge pull request #2153 from BentoBoxWorld/delete_manager_refactor
Put island deletion under one class manager
2023-07-01 13:18:28 -07:00
tastybento
9bd0104a3d Put island deletion under one class manager
The goal is to make BentoBox less of a monster class and have fewer
dependent classes.
2023-07-01 12:49:18 -07:00