Jordan
62297f9479
refactor: adjust chunk sending ( #2770 )
...
- synchronise on the chunk GET object (when available)
- kick it off to be run at some point on the main server thread
2024-06-10 19:12:31 +01:00
Jordan and GitHub
5714a52675
fix: correctly trim the max chunk section ( #2753 )
...
- fixes #2727
- fixes IntellectualSites/Plotsquared#4436
2024-06-05 21:23:12 +02:00
dordsor21
a7e4d19605
Remove debug
2024-06-03 22:01:37 +02:00
dordsor21
47b0ece377
Add since tags to new methods
2024-06-03 22:01:37 +02:00
dordsor21
a82ba31185
feat: allow NBT on wand items
...
- closes #2383
2024-06-03 22:01:37 +02:00
Jordan and GitHub
7635eec2e4
fix: improve how we determine if using FAWE from jenkins ( #2754 )
...
- SNAPSHOT will usually only be removed if it's a release version
- If others remove SNAPSHOT, then they're probably doing their own stuff, just use this as the "release" check
- fixes #2744
2024-06-02 17:11:53 +02:00
dordsor21
5da6c65df6
fix: use correct coordinates in BufferedPattern2D and NoiseFilter
2024-05-31 18:52:49 +02:00
dordsor21
36d2c85fdb
chore: address deprecations in vector classes
2024-05-31 18:52:49 +02:00
Jordan and GitHub
f9c523c173
feat: move limits for (brush, superpickaxe and normal) radii to fawe ( #2635 )
...
- closes #2587
2024-05-24 15:09:57 +02:00
Jordan and GitHub
c9b2f441c1
feat: only unstuck a player if configured to do so ( #2723 )
...
- also add unstuck to a couple of other commands
- closes #2675
2024-05-14 21:30:34 +02:00
Jordan and GitHub
1d9e8b60ab
fix: add missing blocktypes and some minor cleanup ( #2722 )
...
- fixes #2713
2024-05-12 11:05:00 +01:00
Jordan and GitHub
debfabff08
feat: introduce migrating config nodes to new locations ( #2642 )
...
- Initial case of moving schematic limits from experimental to limits
- Closes #2533
2024-05-01 17:31:06 +09:00
Jordan and GitHub
23bcdb0409
fix: introduce approx size to patterns and use in ScatterBrush ( #2631 )
...
* fix: introduce approx size to patterns and use in ScatterBrush
- fixes #2610
* Do not use patternsize in blockvectorset offset
2024-03-30 10:31:52 +01:00
dordsor21
c1c3a5f7ed
fix: git did not find conflict here, remove duplicate fork method
2024-03-27 16:32:11 +00:00
Jordan and GitHub
b512182e1f
feat: save region selector to session store ( #2621 )
...
* feat: save region selector to session store
- closes #2397
* Move new gson adapters to FAWE packages
2024-03-17 20:25:43 +01:00
Jordan and GitHub
d2ca3ed6fe
fix: better image reading errors ( #2632 )
...
- closes #2593
2024-03-17 20:25:09 +01:00
Jordan and GitHub
2d0a3e6081
fix: do not error when attempting to parse "|" as a pattern ( #2625 )
2024-03-17 13:15:28 +01:00
Jordan and GitHub
f60539f41d
chore: deprecate transform extent for removal ( #2623 )
2024-03-16 20:12:02 +01:00
Jordan and GitHub
8363badf80
fix: correctly (de)serialise ItemType ( #2620 )
...
- InternalId changes depending on ~~magic~~ so we should not store this value
- fixes #2589
2024-03-15 18:39:35 +01:00
Jordan and GitHub
facd31ce31
fix: do not forcefully direct to x,y,z methods in AbstractDelegateExtent ( #2614 )
...
- we probably shouldn't be doing this
2024-03-14 17:56:08 +01:00
Jordan and GitHub
d1e1d5105e
fix: invalidate cached allowed regions if WG region deleted ( #2572 )
2024-02-05 22:44:45 +01:00
Jordan and GitHub
a502287906
refactor: minor adjustments to error handling (ignoring) and blocking queue ( #2566 )
2024-02-02 18:07:13 +01:00
Jordan and GitHub
033b8e35d2
fix: always set createCopy status on chunk get as chunks are cached ( #2567 )
...
- fixes #2539
2024-02-02 18:06:57 +01:00
dordsor21
9ffe76dce3
fix: add missing methods top TestOfflinePermissible
2024-01-28 13:32:25 +01:00
Jordan and GitHub
e815071134
fix: fix plot swap ( #2360 )
...
- deprecate and note for internal use only Clipboard#create as it's funky
- fixes #2076
2024-01-21 12:42:24 +01:00
Jordan and GitHub
28ab5662fd
fix: correct the delegated methods in AbstractDelegateExtent ( #2365 )
...
- Not all methods should be overridden: we need to keep delegating-to-setblock methods in parent classes
2023-12-21 13:11:44 +00:00
Jordan and GitHub
2f92626433
feat: add switch to allow removal of entities on paste ( #2525 )
...
- closes #2395
2023-12-18 15:33:02 +00:00
Jordan and GitHub
6caf4640ea
feat: add config option for if the DOC should lock the file channel ( #2526 )
...
- related to #2222
- effectively just a workaround as most people would not need to worry about locking the clipboard file
2023-12-18 15:04:34 +00:00
Jordan and GitHub
f44b1b48c7
chore: add a more informative error when parsing block properties ( #2524 )
2023-12-18 14:58:53 +00:00
Jordan and GitHub
d4b68b384b
fix: add chunk loc to tile entity location when trimming ( #2500 )
...
- fixes #2499
2023-12-12 08:00:40 +01:00
Jordan and GitHub
769d8b3a7a
fix: set biome biome on clear ( #2510 )
...
* fix: set biome biome on clear
- fixes #2509
* Nicer biome setting method
2023-12-07 18:24:05 +01:00
dordsor21
d1798b7408
chore: remove bad range annotations
2023-11-26 12:28:47 +00:00
Jordan and GitHub
6722d73c68
fix: fixed history rollback ( #2367 )
...
- Also go ahead and clean up other parts of this, with more appropriate operators used
- Fixes #2366
2023-11-25 20:32:29 +00:00
dordsor21
a64d24c6cf
feat: more informative BoundedHeightMask error message
2023-11-18 15:02:02 +00:00
Jordan and GitHub
36a892eb37
fix: chunks should only be initialised in the getOrCreateChunk method ( #2462 )
2023-10-26 21:14:39 +02:00
dordsor21
0566bd359e
fix cursed 1.20.2 adapters
...
...what even how did this build??
2023-10-24 16:46:20 +01:00
Jordan and GitHub
50cc9bc528
fix: clear player's history away from main thread if lock locked ( #2457 )
...
* fix: clear player's history away from main thread if lock locked
- addresses crashing of #2448
* Correct lock usage
* remove possibility for race condition
2023-10-23 16:40:38 +02:00
Jordan and GitHub
f5803a09f6
fix: vastly superier handling of queue chunks ( #2461 )
...
- remove ChunkHolder locking concept as this is no longer needed
- previously we obtained the copy from chunk GET on finalize, meaning the copy could be replaced by a "newer" one (bad)
- work around this issue by introducing concept of "unique" keys to map chunk GET copies to
- correctly handle resetting of various chunk-related classes to actually allow pooling to work
- remove chunks as they are submitted when flushing a SingleThreadQueueExtenting
2023-10-22 10:04:19 +00:00
Jordan and GitHub
9489e5448f
fix: there is no need to synchronise chunk sending to the chunk GET instance ( #2463 )
2023-10-22 09:01:44 +02:00
Jordan and GitHub
c6a9673b4b
fix: avoid tripping async catcher when getting entity from chunk ( #2464 )
2023-10-18 14:30:22 +01:00
dordsor21
470c75d843
minor cleanup
2023-10-14 20:27:46 +01:00
Jordan and GitHub
90d52f39d9
fix: add null check for block targetted with inspect brush ( #2443 )
2023-10-05 14:54:52 +01:00
Jordan and GitHub
971559ec23
feat: fake the copied biomes ( #2359 )
2023-10-04 09:39:14 +01:00
Jordan and GitHub
dccf82ab1b
fix: set villager offers temporarily to save NBT without sending event ( #2357 )
2023-10-02 20:36:21 +01:00
Jordan and GitHub
d42854845a
fix: disallowed regions can be length 0 ( #2368 )
2023-07-27 11:02:41 +02:00
Jordan and GitHub
8b39e41a1a
fix: don't warn on release build ( #2369 )
2023-07-27 10:59:11 +02:00
dordsor21
48be6ac94b
fix: processorExtent can be null when setting masks too
...
- fixes #2379
2023-07-22 17:44:05 +01:00
dordsor21
2f6de996e3
fix: processorExtent can be null in editsession
...
- fixes #2375
2023-07-22 13:14:01 +01:00
Jordan and GitHub
9543adc776
Implement async notify queue that submits to a KeyQueuedExecutorService ( #2334 )
2023-07-20 17:58:01 +02:00
Jordan and GitHub
18df87a4e8
feat: implement a new "type swap" pattern ( #2346 )
2023-07-20 17:57:48 +02:00
Jordan and GitHub
0a8a479214
fix: do not clash ChunkHolder recycling with processors that extend outside the chunk ( #2353 )
2023-07-20 17:57:29 +02:00
Jordan and GitHub
fe1859e9d2
fix: do not retain clipboards that completed exceptionally ( #2358 )
2023-07-20 17:56:30 +02:00
Jordan and GitHub
f65c4743bd
fix: make IdMask thread-safe ( #2361 )
2023-07-20 17:56:11 +02:00
Jordan and GitHub
cdd546ee5e
fix: correct NBT for spawners ( #2362 )
2023-07-20 17:55:59 +02:00
Jordan and GitHub
b1e0ad4ef7
feat: re-submit chunk load request after 10s after checking world is loaded ( #2339 )
...
- #2332 makes it seem like paper forgets to load a chunk sometimes
- resubmit chunk load request after a second to attempt to counter this
2023-07-15 16:41:04 +01:00
Jordan and GitHub
e6b1308590
feat: synchronise disk clipboard loading and deletion to clipboardLock ( #2342 )
...
- another possible help towards the OverlappingFileLockException
2023-07-15 16:40:52 +01:00
Jordan and GitHub
f4da4b0287
fix: fix adding/getting masks to/from MaskExtent when it is a processor ( #2351 )
...
- fixes #2350
2023-07-15 16:40:29 +01:00
dordsor21
8da530ee80
gracefully handle error in EntityInBlockRemovingProcessor
...
- ensures edit continues on chunk correctly
2023-07-15 12:27:33 +01:00
dordsor21
a680c7ce97
fix: fix #2352
2023-07-13 17:08:18 +01:00
dordsor21
0a19f643b6
fix #2349
2023-07-11 16:39:53 +01:00
Jordan and GitHub
c0e20a6fe5
feat: provide some information upon OverlappingFileLockException ( #2341 )
2023-07-10 23:16:05 +02:00
Jordan and GitHub
1f29ab3b79
fix: fix command brush ( #2347 )
2023-07-10 22:04:33 +01:00
Jordan and GitHub
685248d8de
chore: deprecate some methods that ought to be removed ( #2340 )
2023-07-09 15:16:30 +01:00
Jordan and GitHub
d78092b4ca
fix: ensure chunk is loaded when getting entities ( #2323 )
2023-07-07 18:36:12 +02:00
Jordan and GitHub
6fbdef5252
feat: allow bracketless '%' pattern definition ( #2322 )
2023-07-07 18:36:02 +02:00
Jordan and GitHub
f38c81aa2a
fix: correctly invalidate mask after a plot is merged ( #2333 )
2023-07-07 18:27:10 +02:00
Jordan and GitHub
888683d83b
fix: ignore clipboard origin when pasting to match P2 behaviour ( #2336 )
2023-07-07 18:23:37 +02:00
dordsor21
a669be2041
fix #2319
2023-07-05 22:03:13 +01:00
Jordan and GitHub
d7cc65d2f2
refactor: some changes that may help #2289 ( #2307 )
2023-07-03 16:37:42 +01:00
dordsor21
83a4987252
chore: queue progress messages are not implemented
2023-06-30 19:36:35 +01:00
Jordan and GitHub
24325d91ba
feat: improve (region) fawe mask handling ( #2312 )
...
* feat: improve fawe mask handling
- Actually cache masks, even if the player has left the region
- Fix P2 isValid test for single plots
- Fixes #1946
* Fix incorrect delegated method
2023-06-28 09:24:20 +01:00
Jordan and GitHub
0554b31f11
feat: implement removal of entities if they would be in a block after the edit ( #2311 )
...
- Includes some refactoring to EditSessionBuilder to prevent doubling-up of processors that are also extents
- Better ordering of the EditSessionBuilder process/extent code to match where extents actually end up in the stack
- Fixes #1941
2023-06-27 18:37:09 +02:00
Jordan and GitHub
476ba4ab41
refactor: efficiency improvements to some editsession methods ( #2304 )
2023-06-27 18:36:54 +02:00
dordsor21
924805af8f
fix: fix obnoxious error message if using p2 v7 with FAWE main branch
2023-06-25 13:52:13 +01:00
dordsor21
05d5ad161a
chore: add obnoxious error message if using p2 v7 with FAWE main branch
2023-06-23 21:57:51 +01:00
Jordan and GitHub
9f0a0dbd35
fix: ensure mask is initialised upon visiting a point in BreadthFirstSearch ( #2314 )
...
fix: ensure mask is initialised upon visiting a point in BreadFirstSearch
2023-06-22 21:32:54 +02:00
Jordan and GitHub
d961aa91bc
fix: fix regex block masking ( #2242 )
2023-06-22 11:24:03 +01:00
Jordan and GitHub
88533118bc
fix: uncache the chunk SET at a better time in ChunkHolder to prevent "lost" changes ( #2300 )
...
- blocks could still be set to the ChunkHolder during a call
- create a new chunk SET in that case
- make cached get/set volatile to improve thread safety
2023-06-19 22:46:10 +02:00
Jordan and GitHub
8ca25fa7d7
fix: towny max bounds are exclusive ( #2301 )
...
fix: towny max bounds are exlusive
- Fixes #2293
2023-06-19 22:46:01 +02:00
Jordan and GitHub
01be53ed65
fix: add missing BlockType constructor ( #2306 )
...
- Deprecate public BlockType constructors
- People really should not be initialising their own block types. This can and most likely will cause issues.
- Fixes #2290
2023-06-19 14:36:47 +01:00
Jordan and GitHub
a8c8a0fbd6
fix: always return the changeset from EditSessionBuilder ( #2302 )
...
- Ensure history will actually always be closed if combine-stages is false
- Fixes #2148
2023-06-19 14:34:54 +01:00
Jordan and GitHub
1ede11b129
fix: use new array when creating palette ( #2305 )
...
- Fixes #2291
2023-06-19 14:34:02 +01:00
Jordan and GitHub
39de48cdb1
chore: Address kotlin String#capitalize() deprecation ( #2308 )
...
* chore: Address kotlin String#capitalize() deprecation
- Fixes #2283
- Don't bother with the longer version that allows Locales, we don't need that
* Address comments
2023-06-18 16:31:49 +00:00
Jordan and GitHub
f0aef98870
fix: don't "double-up" a setblocks if a region is being set ( #2299 )
...
- Fixes #2294
2023-06-18 18:08:31 +02:00
dordsor21
135c77cfb5
chore: minor changes
...
- null check get tile in ThreadUnsafeCharBlocks
- 0 to reserved ID
2023-06-18 15:03:51 +01:00
51e238c352
feat: add new tree types to tree tool and brush ( #2286 )
...
* feat: add new tree types
- implements #2197
* Remove nonsensical test case
---------
Co-authored-by: Alexander Brandes <[email protected] >
2023-06-15 10:18:01 +02:00
Jordan and GitHub
79a2c14caa
fix #2292
2023-06-13 19:12:24 +02:00
Jordan and GitHub
dae6c69e54
feat: send one of an error message during edits if otherwise squashed by LimitExtent ( #2246 )
...
* feat: send one of an error message during edits if otherwise squashed by LimitExtent
* no region is not ingorable
2023-06-12 12:14:24 +02:00
Jordan and GitHub
e449910af5
feat: prevent edits outside +/- 30,000,000 blocks ( #2285 )
...
* feat: prevent edits outside +/- 30,000,000 blocks
* Remove import
2023-06-12 11:27:07 +02:00
1356cd5caa
feat: implement a player-specific queue for clipboard IO tasks ( #2267 )
...
* feat: implement a player-specific queue for clipboard IO tasks
- Addresses #2222 (hopefully fixes)
* Address comments
* Add since
---------
Co-authored-by: Alexander Brandes <[email protected] >
2023-06-07 00:35:37 +02:00
Jordan and GitHub
84872cf9a2
chore: improve queue documentation and submit history to better queue ( #2266 )
2023-06-06 19:22:25 +02:00
Jordan and GitHub
b7719d17bd
fix: correctly processSet with blacklist when required ( #2270 )
...
* fix: correctly processSet with blacklist when required
* Fix incorrect region
2023-06-06 19:21:18 +02:00
Jordan and GitHub
5504811f11
chore: minor improvements to processing-related code ( #2271 )
2023-06-06 19:21:02 +02:00
dordsor21
5da5b216f3
fix #2268
...
-.-
2023-06-05 22:26:41 +01:00
dordsor21
e5d27c27bb
chore: replace some hardcoded ordinals
2023-06-05 00:17:13 +01:00
dordsor21
46e8a37cf0
fix: improve test for polygonal region containment of cuboid
...
- Possibly fixes #2265
2023-06-04 23:57:51 +01:00
Jordan and GitHub
e9fed5a066
feat: improve error when loading biomes ( #2241 )
2023-06-04 18:50:08 +02:00
Jordan and GitHub
0e215e98d5
fix: minor changes to fix loading blocks outside stored range in ThreadUnsafeCharBlocks ( #2260 )
...
- Fixes #2258
2023-06-04 17:22:21 +02:00
dordsor21
048dcaf327
fix: do not always set random rotate to true
...
- Fixes #2259
- How'd that even get through
2023-06-03 16:34:23 +01:00
Jordan and GitHub
228e84e555
fix: Improve edit processing ( #2247 )
2023-06-01 15:11:16 +01:00