Commit Graph

1301 Commits

Author SHA1 Message Date
fc2662e51e Fix //snapshot in 1.18 and re-implement biome/entity restoration (#1620)
* Re-add "//snap" and "//snapshot"

* Place code in correct method

* Use CompoundBinaryTags in AnvilChunk18 and implement biome/entity restoration

* Address comments

* Fix biome reading

* Fix retrieval of entities from zipped snapshot world

Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:33:25 +01:00
49d5183685 Load legacy config file before firing PlatformsRegisteredEvent (#1623)
Fixes #1622

Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:33:06 +01:00
28a0239437 Fix clipboards to allow proper heights by allowing extended CuboidRegion heights (#1624)
* Fix clipboards to allow proper heights by allowing extended CuboidRegion heights
Fixes #1534

* Add @since

* Fix javadoc comment

Co-authored-by: Alex <mc.cache@web.de>
2022-02-24 10:32:45 +01:00
0a04b0b4cd tests: Fix StubServer 2022-02-23 11:25:10 +01:00
de4f73997e Implement missing methods in tests 2022-02-12 13:38:04 +00:00
15b9b8332c fix: Make it build again 2022-02-04 11:24:11 +01:00
f0136460ba Update upstream
ab31481 Use Chunk#getNoiseBiome instead of biome container (2025)
2022-01-30 21:18:40 +01:00
178604bbb7 Only call org.bukkit.World height methods if they're present (1.17+) (#1551)
* Only call org.bukkit.World height methods if they're present (1.17+)

* Switch to WorldEdit get height methods in GPFeature
2022-01-29 13:12:16 +01:00
4610688fcb fix: Debugpaste on 1.17 and lower due GSON incompatibility (#1583) 2022-01-28 22:15:24 +01:00
e309cf8f3c build: Update PlotSquared 2022-01-27 15:30:18 +01:00
806ca62485 fix: GriefDefender filter (#1546)
* Fix: GriefDefender filter

* Update libs.versions.toml

* Now it only work with 2.1.0.
2022-01-23 18:29:01 +01:00
4d2a34fd21 refactor: Update upstream
0ad3ab1 Remove extra label from bukkit command usage string.
2022-01-17 13:20:16 +01:00
9e40b972b1 refactor: Put Fawe version information at debugpaste to (#1533) 2022-01-12 01:22:24 +01:00
6b857b0f58 ci: Cleanup maven repositories (#1526) 2022-01-12 01:21:27 +01:00
f0f201002a Update adapters 2022-01-09 11:22:00 +01:00
9ba90d8c83 refactor: Drop custom snakeyaml implementation (#1523)
* refactor: Drop custom snakeyaml implementation

* Merge branch 'main' into chore/main/remove-snakeyaml-wannabe-abstraction
2022-01-09 10:55:16 +01:00
64442a8051 refactor: Tackle a few Semgrep and ErrorProne violations (#1520)
* refactor: Tackle a few Semgrep and ErrorProne violations

* Address comments
2022-01-07 12:45:53 +01:00
59d4247ddb Update legacy adapters 2022-01-05 23:53:02 +00:00
d6695d23f0 Replace remaining instances of worldeditregentempworld 2022-01-05 23:42:57 +00:00
f4658cc668 docs: Document a few undocumented annotations 2022-01-04 21:15:45 +01:00
b8399abfe1 refactor: Deprecate tick limiter API for public use 2022-01-04 20:33:05 +01:00
42dacfc7ef Fix incorrect toNative method in 1.17 adapter 2022-01-04 13:28:29 +00:00
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
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
9e8f0e7325 Refactor: getVersionMin/MaxY -> versionMin/MaxY 2021-12-29 16:44:41 +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
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
d19369401f Don't force tick limiter enable/disable 2021-12-29 00:18:12 +00:00
f236934a39 Add get default version min/max world height to platform
- Fixes #1500
2021-12-28 22:46:19 +00:00
f9ecb449cf read the actual block from ZeroBitStorage 2021-12-27 06:03:01 +01:00
07695786ca return air instead of reserved on get blocks 2021-12-26 19:52:02 +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
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
d98f626ba6 Reverse a "debug" change to BukkitImplLoader 2021-12-22 11:37:01 +00:00
6b6c94556a refactor! Remove deprecations marked for removal that are not present in upstream (#1483) 2021-12-22 01:53:45 +01:00