Commit Graph

6626 Commits

Author SHA1 Message Date
0994ea1e67 Fix issue with offset/origin when pasting a clipboard via API without wrapping into a BlockArrayClipboard 2021-12-30 16:05:16 +00:00
f30ea96268 Refactor: add javadoc to Clipboard#create and improve variables when delegating to another paste method 2021-12-30 16:04:38 +00:00
9faacb38ef Warn user if using small-edit history setting with extended world heights 2021-12-30 16:01:23 +00:00
aaad86cf1d docs: Drop clarified todos 2021-12-29 18:16:19 +01:00
122cba677a docs: Put since annotation on newly introduced API 2021-12-29 18:14:18 +01:00
235d0360da Don't wrap Exception thrown upon invalid schematic path inside a RuntimeException
Fixes #1506
2021-12-29 16:55:32 +00:00
52fa44516e Throw, catch, and rethrow our own exception to make sure we're finding the culprit to a possible shaded-FAWE. 2021-12-29 16:47:34 +00:00
9e8f0e7325 Refactor: getVersionMin/MaxY -> versionMin/MaxY 2021-12-29 16:44:41 +00:00
f505828af1 More enhanced switches 2021-12-29 16:44:18 +00:00
8d565b93f7 Compress switch statements a bit using enhanced 2021-12-29 16:39:44 +00:00
867b28d439 Remove remaining keywords frm CachedChanged. IJ doesn't warn? 2021-12-29 16:37:21 +00:00
fd3619f7b5 Merge branch 'major/2.0.0/1.18' of github.com:IntellectualSites/FastAsyncWorldEdit into major/2.0.0/1.18 2021-12-29 16:30:12 +00:00
3a3143065d Remove/add some more comments 2021-12-29 16:29:55 +00:00
ca5640e89e Replace CachedChange class with record 2021-12-29 16:16:23 +00:00
e5cbdec67e Remove unneeded comments 2021-12-29 16:14:13 +00:00
19de815ab4 chore: Format our loggers properly 2021-12-29 17:13:20 +01:00
e2a1721a5c Use new language features 2021-12-29 16:12:43 +00:00
0d79d084a5 Rename worldedit to fawe where appropriate 2021-12-29 16:12:16 +00:00
3c2394afa4 Add comments to changed code 2021-12-29 16:06:49 +00:00
f38859237a Move to BinaryTags where appropriate in adapters 2021-12-29 16:00:49 +00:00
48e2953910 Update log4j version, update jd links to use "latest" 2021-12-29 15:30:25 +00:00
1a281badc2 Remove mentions of NMS from compilation instruction 2021-12-29 15:30:12 +00:00
177d731957 Add back statically-set reserved IDs for air blocks only, make it clear they're "reserved" (#1502)
* Add back statically-set reserved IDs for air blocks only, make it clear they're "reserved"
Also:
 - Ensure that reserved is never returned in GET block operations
 - "empty" thus doesn't exist in the GET update methods; remove the needless checks
 - Allow GET/SET chunks to determine their own default values for non-present blocks/sections

* Add comments
2021-12-29 16:17:20 +01:00
bca3a1b04d More precise method names in MinecraftVersion
- Also ensure correct comparisons are made in FaweBukkit and BukkitServerInterface
 - Fixes #1504
2021-12-29 14:46:30 +00:00
5d4a2a4a0d Use Math.floor instead of int cast 757bef1f7d2b16317ab3d18427ad22183344e28d 2021-12-29 12:42:19 +00:00
c28a5ee66e Merge branch 'main' into major/2.0.0/1.18 2021-12-29 00:19:25 +00:00
d19369401f Don't force tick limiter enable/disable 2021-12-29 00:18:12 +00:00
3ec1912046 Fix tests 2021-12-28 23:22:59 +00:00
36857a5064 Fix #1490 2021-12-28 23:02:48 +00:00
f6319d36a1 Add methods to CLIPlatform 2021-12-28 22:58:25 +00:00
f236934a39 Add get default version min/max world height to platform
- Fixes #1500
2021-12-28 22:46:19 +00:00
46fdceaea6 add missing annotation to Region 2021-12-28 22:05:40 +00:00
f9ecb449cf read the actual block from ZeroBitStorage 2021-12-27 06:03:01 +01:00
596356a936 refactor: Shift FileAlreadyExistsException catch to a higher level 2021-12-27 00:00:49 +01:00
07695786ca return air instead of reserved on get blocks 2021-12-26 19:52:02 +01:00
040a011ff1 Merge branch 'main' into major/2.0.0/1.18 2021-12-26 16:24:36 +01:00
a717df3c5f implement 1.18 regen 2021-12-26 16:20:39 +01:00
4ab140f6a1 use spigot-compatible packet constructor 2021-12-26 10:37:32 +01:00
018042769d use spigot-compatible palette constructor 2021-12-26 09:31:03 +01:00
0c8db1e1fe feat: Add a bunch of new types to the flora generator 2021-12-25 19:03:30 +01:00
42035bdb87 chore: Lazily prepare update checker for future job
Future versions of Fawe use a version agnostic job. This commit will remain unmerged to any other branch but warrant a working update checker.
2021-12-25 17:24:26 +01:00
3b24a8ae8a Merge branch 'main' into major/2.0.0/1.18 2021-12-25 17:20:52 +01:00
96ca83704a fix: Backport fixing delay closing of clipboards on quit (#1493) 2021-12-25 17:18:39 +01:00
28079e8129 refactor: Also deprecated IMP for DBHandler 2021-12-23 15:59:05 +01:00
ca5ad58f01 Fix WEManager (#1487)
* Fix WeManager?

* Fix WeManager?

* Also register WEManager if not available, like TaskManager.
2021-12-23 12:39:11 +01:00
7da921e075 refactor: Deprecate IMP initializors in favor of builders 2021-12-22 20:58:23 +01:00
34f971c729 Add classes with the correct minor version to the start of the adapter candidates list 2021-12-22 12:19:20 +00:00
1715f35341 refactor: Do prepared statements properly
- Update TextureUtil client jar to 1.18.1
- Limit the update checker to our domain
2021-12-22 13:10:04 +01:00
77802758a9 Fix parsing of build in FaweVersion 2021-12-22 11:44:37 +00:00
d98f626ba6 Reverse a "debug" change to BukkitImplLoader 2021-12-22 11:37:01 +00:00