Hannes Greule
8f1ca48bfc
lock is in PalettedContainer in 1.17 ( #1697 )
2022-04-11 13:59:37 +02:00
Pierre Maurice Schwang
2483eacff5
Fix memory leak by Citizen NPCs ( #1693 )
...
* fix: ignore uuid v2 for BukkitPermissionAttachmentManager
Fixes a memory leak that attaches and caches PermissionAttachments to NPCs. Citiziens uses version 2 UUIDs, which are not used for regular player uuids. Those v2 uuids are now excluded.
* fix: create Permission when required
* fix: use citizens documented way to check for NPCs
2022-04-06 16:22:53 +02:00
Kekschen
f477120661
Remove unused 'listeningImages' variable. ( #1684 )
2022-04-02 22:00:57 +02:00
Hannes Greule
a240b002de
simplify biome id logic ( #1677 )
...
Co-authored-by: Alex <mc.cache@web.de>
2022-04-01 19:25:48 +02:00
Pierre Maurice Schwang
2276d82d2c
//regen creates vanilla decorations without error ( #1650 )
...
* fix: Feature placement on regen should create chunk
* feat: update adapter jar
* fix: update adapter jar
2022-03-28 21:06:26 +02:00
Hannes Greule
c45b14a52d
Avoid Unsafe on paper ( #1678 )
2022-03-27 23:56:59 +02:00
Jordan
465c81d193
Remove hardcoding of heightmap compressed long size ( #1668 )
2022-03-18 21:28:25 +00:00
Alex
05f80f23b9
refactor!: Don't bundle 1.15.2 adapters anymore ( #1656 )
2022-03-17 09:41:50 +01:00
renovate[bot]
c672d7a0b3
build: Update dependency net.kyori:adventure-nbt to v4.9.3 ( #1658 )
...
* build: Update dependency net.kyori:adventure-nbt to v4.10.1
* build: Provide proper adventure version
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-14 16:14:10 +01:00
renovate[bot]
8afde807b6
build: Drop ProtocolLib dependency ( #1659 )
...
* build: Update dependency com.comphenix.protocol:ProtocolLib to v4.8.0
* build: Drop ProtocolLib dependency
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-14 14:32:27 +01:00
Jordan
1708584e8d
Don't call ticking_list
on Spigot ( #1655 )
...
* ticking_list is paper only
* Update adapters
2022-03-14 11:08:10 +01:00
dordsor21
d8c0f8e3b1
Make sure thread-cached arrays are reset
2022-03-13 01:44:59 +00:00
NotMyFault
95512a4c0b
build: Release 2.1.0
2022-03-10 22:57:23 +01:00
NotMyFault
c3cdde9d2e
build: Update paperweight
2022-03-10 22:43:33 +01:00
Jordan
e9db749e2f
Add fluid ticking and refactor post-processing a bit ( #1554 )
...
* Make postProcessSet a default method and change to void
* Throwable#getMessage is nullable
* Move (re-)ticking to a post-processor per "platform"
- Add fluid ticking
* chore: Ignore (for us) irrelevant rules
* chore: Fix correct toml syntax?
* Re-add removed method for API-compliance and refactor it to have a use
* Switch to javax annotations
* Switch to recalcBlockCounts for ticking blocks.
* No need to set air count anymore either
* We can still "not tick" in fast mode in 1.17.2
* update adapters
* Let paper create the chunk section if biomes are null
* Adjust notes to settings
* 1.17.2 didn't exist
* Add 1.18.2
* Don't attempt to cache plains biome ID
* Use correct annotation
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-03-10 15:27:25 +01:00
Alex
5d18e15128
Replace JB occurrences with JSR 305 (for now) ( #1651 )
...
* refactor: Replace JB occurrences with JSR 305 (for now)
* chore: Update adapter jar
2022-03-10 14:24:44 +01:00
Jordan
f59353006a
Update to P2 extended heights ( #1581 )
2022-03-09 14:21:58 +01:00
Pierre Maurice Schwang
49bc675f51
Fix //regen -b
on 1.18.2 ( #1647 )
...
* fix: adapt correct biome type
* fix: PaperweightPlatformAdapter#adapt should return BiomeType
2022-03-08 18:55:52 +01:00
NotMyFault
fb66ba6adf
build: Update paperweight
...
Closes #1649
2022-03-07 21:20:25 +01:00
Alex
345785a25e
feat: Support for 1.18.2 ( #1641 )
...
* feat: Preliminary work for 1.18.2
* Update SpigotNames to 1.18.2 (#1642 )
* 1.18.2 / Biome-Holders, regeneration (#1645 )
* 1.18.2 / Biome-Holders, regeneration
* fix: reuse old structure sets
* build: Update dev bundles
* fix: Don't log regen world generation
* fix: Run DataConverter with CBT
* fix: Override `#toNativeBinary`
* fix: Exception on regen
Co-Authored-By: Pierre Maurice Schwang <mail@pschwang.eu>
* refactor: Minor cleanup
Co-authored-by: Aurora <21148213+aurorasmiles@users.noreply.github.com>
Co-authored-by: Pierre Maurice Schwang <mail@pschwang.eu>
2022-03-07 15:20:05 +01:00
Pierre Maurice Schwang
668227ee6c
Update Upstream ( #1643 )
...
44863cf Don't access PluginClassLoader directly (#2045 )
2022-03-05 18:19:58 +01:00
renovate[bot]
4ffea67514
build: Update dependency net.kyori:adventure-nbt to v4.10.0 ( #1638 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 00:22:01 +01:00
NotMyFault
dafcd16a14
Update Upstream
...
eac5b51 Play dirty because bukkit classloading is bad. (2043)
2022-03-02 20:48:49 +01:00
NotMyFault
7db06061f0
Update upstream
...
e2ab12c Change the class source validator to use classloaders for detection. (2039)
2022-02-28 15:42:03 +01:00
Alex
340f8dded3
tests: Remove stub server ( #1629 )
2022-02-28 13:53:08 +01:00
Jordan
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
Jordan
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
Jordan
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
NotMyFault
0a04b0b4cd
tests: Fix StubServer
2022-02-23 11:25:10 +01:00
dordsor21
de4f73997e
Implement missing methods in tests
2022-02-12 13:38:04 +00:00
NotMyFault
15b9b8332c
fix: Make it build again
2022-02-04 11:24:11 +01:00
NotMyFault
f0136460ba
Update upstream
...
ab31481 Use Chunk#getNoiseBiome instead of biome container (2025)
2022-01-30 21:18:40 +01:00
Jordan
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
Alex
4610688fcb
fix: Debugpaste on 1.17 and lower due GSON incompatibility ( #1583 )
2022-01-28 22:15:24 +01:00
NotMyFault
e309cf8f3c
build: Update PlotSquared
2022-01-27 15:30:18 +01:00
ahdg
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
NotMyFault
4d2a34fd21
refactor: Update upstream
...
0ad3ab1 Remove extra label from bukkit command usage string.
2022-01-17 13:20:16 +01:00
Alex
9e40b972b1
refactor: Put Fawe version information at debugpaste to ( #1533 )
2022-01-12 01:22:24 +01:00
Alex
6b857b0f58
ci: Cleanup maven repositories ( #1526 )
2022-01-12 01:21:27 +01:00
NotMyFault
f0f201002a
Update adapters
2022-01-09 11:22:00 +01:00
Alex
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
Alex
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
dordsor21
59d4247ddb
Update legacy adapters
2022-01-05 23:53:02 +00:00
dordsor21
d6695d23f0
Replace remaining instances of worldeditregentempworld
2022-01-05 23:42:57 +00:00
NotMyFault
f4658cc668
docs: Document a few undocumented annotations
2022-01-04 21:15:45 +01:00
NotMyFault
b8399abfe1
refactor: Deprecate tick limiter API for public use
2022-01-04 20:33:05 +01:00
dordsor21
42dacfc7ef
Fix incorrect toNative method in 1.17 adapter
2022-01-04 13:28:29 +00:00
dordsor21
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
dordsor21
9faacb38ef
Warn user if using small-edit history setting with extended world heights
2021-12-30 16:01:23 +00:00
NotMyFault
aaad86cf1d
docs: Drop clarified todos
2021-12-29 18:16:19 +01:00