tastybento
2c283ae3a9
Javadoc and other cleanup from code analysis ( #2099 )
2023-02-26 17:48:37 -08:00
tastybento
f02b4d5011
Merge pull request #2096 from BentoBoxWorld/void_world_deletion
2023-02-26 07:14:39 -08:00
tastybento
6925a788f3
Put back the deprecated way to delete and adds a GameModeAddon API
...
to declare which type to use. AcidIsland will need updating to use this
API.
2023-02-24 17:33:53 -08:00
tastybento
1b81e74f4c
Evaluates banned commands with spaces
...
Addresses #2092
2023-02-20 09:59:26 -08:00
tastybento
999ca242d7
Use Eclipse NonNull annotation instead of JetBrains NotNull
2023-02-19 08:41:21 -08:00
tastybento
7d0eb3586d
Make events public so they can be instantiated in 3rd party JUnit tests
...
I need to create "fake" events to test addons but unless they are public
I cannot. All Bukkit events are public, so this should be fine.
2023-02-15 16:01:52 -08:00
tastybento
a713b7be07
Version 1.21.1
2023-02-12 15:21:32 -08:00
tastybento
45f2dca414
Fixes max team size checks.
...
Fixes #2034
2023-02-12 12:08:38 -08:00
tastybento
8276406f9f
Fix runCommands method
...
Note to future self, don't remove Util methods because someone might be
using them!
2023-02-12 08:22:22 -08:00
tastybento
5eaf54e905
Added AdminBlueprintLoadCommand test class
2023-02-11 15:47:52 -08:00
tastybento
04545e676f
AdminBlueprintDeleteCommand test class.
2023-02-11 14:57:42 -08:00
tastybento
08a1ad8126
Added AdminBlueprintCopyCommand test class
2023-02-11 14:46:34 -08:00
tastybento
79d56a5cef
Added test class for AdminBlueprintSaveCommand
2023-02-11 12:03:16 -08:00
tastybento
f93c49184f
Added AddonDescription test class
2023-02-11 10:11:51 -08:00
tastybento
0f0b5aacc2
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2023-02-11 09:09:36 -08:00
tastybento
e978b29d85
Bug fix: Use same seed for seed world as main world.
2023-02-11 09:09:25 -08:00
tastybento
6c1bcdec05
Added test class for IslandChunkDeletionManager
2023-02-08 20:23:19 -08:00
tastybento
a793a33758
Minimal test class for BlueprintPaster
2023-02-08 19:53:16 -08:00
tastybento
1783bb7058
Fixes bug where pasting was happening twice
2023-02-08 19:21:50 -08:00
tastybento
a703499817
Added test class.
2023-02-08 19:16:32 -08:00
tastybento
224be307a0
Fix JavaDoc errors
2023-02-08 18:40:03 -08:00
tastybento
b62a1862a2
Add ${argLine} to surefire plugin
...
This should fix the coverage reports.
2023-02-08 17:17:12 -08:00
JamesMCL44
3623537d84
Update zh-HK.yml ( #2085 )
...
Update to latest locale for latest plugin version
2023-02-06 12:56:02 -08:00
tastybento
6c8ccd2a57
Attempt to get coverage report from SonarCloud
2023-02-05 17:23:52 -08:00
tastybento
f1eaa0fcde
Refactor to reduce complexity
2023-02-05 16:23:23 -08:00
tastybento
9ccdcceaba
Refactor to reduce complexity
2023-02-05 16:19:05 -08:00
tastybento
35ece03e5b
Refactor to reduce complexity.
2023-02-05 16:08:23 -08:00
tastybento
760bc2e086
Define a constant instead of duplicating literals
2023-02-05 16:03:43 -08:00
tastybento
caf994738e
Defined a constant instead of duplicating "CHEST" 7 times
2023-02-05 16:00:06 -08:00
tastybento
f00320095d
Added since and forRemoval to Deprecated annotations.
2023-02-05 15:55:51 -08:00
tastybento
46d20f34ff
Remove statements that are always true
2023-02-05 15:50:04 -08:00
tastybento
df910e96d3
Refactor to reduce complexity.
2023-02-05 15:46:32 -08:00
tastybento
f29e78557a
Change location of seed world data.
...
Fixes #2087
2023-02-05 14:11:59 -08:00
tastybento
2d8b3074a9
Minor refactor to remove continue from for loop
2023-02-05 10:39:10 -08:00
tastybento
ad2541963e
Minor instanceof casting change
2023-02-05 10:38:09 -08:00
tastybento
2c1a018071
Clarify nonnull on Location
2023-02-05 10:37:43 -08:00
tastybento
c6fc42846a
Remove unused imports
2023-02-05 10:15:34 -08:00
tastybento
0e253f3ba5
Clarify that parameter is non-null
2023-02-05 10:10:25 -08:00
tastybento
a68436fde1
Remove Optional from parameter.
2023-02-05 10:05:57 -08:00
tastybento
1d28979d5c
Refactor to reduce complexity
2023-02-04 19:08:09 -08:00
tastybento
187132bc1d
Refactor to reduce complixty. Added comments.
2023-02-04 19:00:18 -08:00
tastybento
3331ffac4e
Refactor to reduce complexity.
2023-02-04 18:49:13 -08:00
tastybento
f9e57898ab
Refactor to reduce complexity.
2023-02-04 18:45:05 -08:00
tastybento
0c29d0b5dd
Uses seed worlds for deletion purposes ( #2084 )
...
* Uses seed worlds for deletion purposes
* Use Flat type
* Implement the superflat saver
* Fix nullable issue
* Fix tests.
* Fix code smells
2023-02-04 18:37:06 -08:00
tastybento
7040047fcb
Fix broken test for IslandRespawnListener
2023-02-04 10:37:02 -08:00
BONNe
ea6ca3d26b
Add variable parsing on reference text ( #2073 )
...
This solves the issue in customizable GUI's where variables are defined directly into the panel button name and description instead of providing the link to the locale.
Not all users want to specify all text into a locale, and they would not get parsed variables just because of that.
This change fixes it and it does not give any bad situations even if the reference is just missing text in the locale, as there will be nothing for parsing.
2023-01-31 18:03:37 +02:00
tastybento
a604d5cf82
Add [owner] in command placeholders #2080 ( #2081 )
2023-01-31 07:13:01 -08:00
tastybento
bbb8207cf0
Teleportation was processed for entities even if it was switched off
...
Addresses #2078
Added test class to cover some of the logic in the teleportation class.
More tests can be written to cover the various outcomes.
2023-01-28 16:04:52 -08:00
BONNe
e89970b49b
Remove 1.18.2 from supported version list. ( #2074 )
...
* Remove 1.18.2 from supported version list.
1.18.2 support was removed with changes in commit 056cff4b6f
Also, mark 1.19, 1.19.1 and 1.19.2 as incompatible. It happens because of GSon library changes that prevents bentobox compiled with Spigot 1.19.3 to run on older versions.
* Fixes GSON crashes introduced by migrating to 1.19.3 api.
2023-01-06 18:29:37 +02:00
tastybento
0de2c3a7b6
Update JavaDoc to indicate return value is immutable
2023-01-05 21:30:19 -08:00