Commit Graph

6733 Commits

Author SHA1 Message Date
Jordan
b237ddf076
Cherry pick upstream commits to fix SideEffectSet (#1737)
* Fix SideEffectSet.none() being the default set (#1620)

* Fix SideEffectSet.none() being the default set

* Remove the unnecessary private empty constructor for SideEffectSet

* Back to ImmutableMap.of

* Speed up Fast Reorder Mode and make it default (#1653)

* Speed up Fast Reorder Mode and make it default

* Make non-exposed side effects internal

* Docs on isExposed

Co-authored-by: Matthew Miller <mnmiller1@me.com>
2022-05-10 10:11:12 +02:00
Jordan
d7543884a5
Check cached bukkit player is the same as the current player online (#1732)
* Check cached bukkit player is the same as the current player online
 - If plugins do silly things like teleport, deop (anything that requires a perm-recheck) (anything that ultimately requires a BukkitPlayer at some point) then the retention of metadata by the server (as it's stored based on a string value indescriminate of player a player relogging) means that a BukkitPlayer caching an old player object will be kept, cached and retrieved by FAWE. Adding a simple memory-based equality check when the player rejoins, and then "invaliding" (redoing) the cache if the players are not equal, fixes this.
 - Fixes #1730

* Address comments

* Add comment explaining reference equality check to code
2022-05-10 10:10:59 +02:00
renovate[bot]
ec97fca440
build: Update dependency org.mozilla:rhino-runtime to v1.7.14 (#1733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 18:55:39 +02:00
renovate[bot]
ffeb940aff
build: Update plotsquared to v6.7.0 (#1739)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:20:59 +02:00
renovate[bot]
776dc3b69d
build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.12 (#1735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:18:32 +02:00
Jordan
267dc153f0
Don't initialise a DiskOptimisedClipboard before checking for an existing one in the LocalSession when using loadClipboardFromDisk (#1731) 2022-05-09 12:50:19 +01:00
Alexander Brandes
b85888806a
[ci skip] chore: Update my name 2022-05-07 16:14:40 +02:00
Jordan
210ee9f2ef
Implement getNameUnsafe method to allow an unloaded world's name to be accessed (#1712)
* Implement getNameUnsafe method to allow an unloaded world's name to be accessed
 - Fixes #1671 and #504

* Add javadoc since tag

Co-authored-by: Alexander Brandes <mc.cache@web.de>

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-05-05 21:39:45 +02:00
renovate[bot]
c1b5f8c84a
[ci skip] build: Update org.antlr to v4.10.1 (#1699)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-05-03 10:06:46 +02:00
renovate[bot]
a51bc6eab3
build: Update dependency org.checkerframework:checker-qual to v3.22.0 (#1728) 2022-05-03 09:59:19 +02:00
renovate[bot]
091d64f723
[ci skip] build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.11 (#1727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 12:40:48 +02:00
renovate[bot]
546e42aab5
[ci skip] build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.10 (#1723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:14:29 +02:00
renovate[bot]
617b0ac95c
[ci skip] build: Update dependency io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin to v1.3.6 (#1720)
* build: Update dependency io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin to v1.3.6

* build: Update paperweight

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2022-04-25 17:17:23 +02:00
renovate[bot]
a227e2618f
[ci skip] build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.9 (#1719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:55:20 +02:00
renovate[bot]
3a22389d35
[ci skip] build: Update dependency org.mockito:mockito-core to v4.5.1 (#1721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:23:27 +02:00
Jordan
e294245ec4
Fix some horrendous code where methods supposed to return a boolean only ever return true (#1718) 2022-04-24 18:03:40 +02:00
dordsor21
82ba96bf71
Add constraints to //asc and //desc 2022-04-24 00:11:57 +01:00
Octavia Togami
f2df511263
Bump paperdev 1.17.1 version (fixes yarn dependency resolution) 2022-04-23 14:39:26 +01:00
Alexander Brandes
3f970cdaef
Rename codeql.yml to codeql.yml.disabled 2022-04-21 13:11:39 +02:00
Jordan
65349392a6
Set empty block count when using fastmode on 1.17 (#1710)
* Set empty block count when using fastmode on 1.17
Fixes #1666

* Update legacy adapters
2022-04-21 13:11:23 +02:00
dordsor21
f5ef0cadb6
Clean up remaining byte casts from 39081e62c9 2022-04-20 23:47:09 +01:00
NotMyFault
c94cbf25a6
build: Back to snapshot for development 2022-04-19 09:14:45 +02:00
NotMyFault
9fdce09a4c
build: Release 2.1.2 2022-04-19 09:04:35 +02:00
Orlaando
3610af15e8
Show number of affected blocks in //set command (#1703)
* Show # of blocks affected in //set

* Fix typo

* fix: Add amount of blocks affected to strings.json

Co-authored-by: NotMyFault <mc.cache@web.de>
2022-04-19 08:55:19 +02:00
Alexander Brandes
27ee46047e
style: Emphasize project icon in idea selection (#1708) 2022-04-19 00:49:39 +02:00
renovate[bot]
ebf84c523c
[ci skip] build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.8 (#1707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 21:58:46 +02:00
Pierre Maurice Schwang
bb71a18c8c
fix: update adapters (FastAsyncWorldEdit-Adapters#67) (#1706) 2022-04-18 21:58:02 +02:00
renovate[bot]
4fd676b931
build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.7 (#1705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 09:19:05 +02:00
Pierre Maurice Schwang
6e26741fdc
fix: respect block categories in RichMaskParser (#1694) 2022-04-11 13:59:54 +02:00
Hannes Greule
8f1ca48bfc
lock is in PalettedContainer in 1.17 (#1697) 2022-04-11 13:59:37 +02:00
renovate[bot]
a9e43a6d78
[ci skip] build: Update dependency com.github.TownyAdvanced:Towny to v0.98.1.6 (#1698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 13:59:21 +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
renovate[bot]
ed9317b4d6
build: Update dependency org.checkerframework:checker-qual to v3.21.4 (#1689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 19:38:43 +02:00
renovate[bot]
9d56275247
[ci skip] build: Update actions/setup-java action to v3.1.0 (#1690)
* build: Update actions/setup-java action to v3.1.0

* Update build.yml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2022-04-04 15:17:09 +02:00
renovate[bot]
ffea228b52
build: Update dependency gradle to v7.4.2 (#1688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 15:14:43 +02:00
renovate[bot]
569f3dc504
build: Update com.plotsquared to v6.6.2 (#1687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 14:53:55 +02:00
NotMyFault
d26e15b6da
build: Back to snapshot for development 2022-04-04 13:53:15 +02:00
Alexander Brandes
90e77e5074
Update bug_report.yml 2022-04-04 13:20:08 +02:00
NotMyFault
93846fabaf
build: Release 2.1.1 2022-04-04 13:15:56 +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
NotMyFault
4970db0405
chore: Use assets for 1.18.2 2022-03-29 12:53:19 +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
Pierre Maurice Schwang
d1588f9207
Fix tabcomplete for random pattern / multiple pattern (#1675)
* Merge RandomPatternParser#getSuggestions with upstream

* fix: don't throw AIIBE if patterns are empty

shouldn't be the case in the first place
2022-03-27 09:46:36 +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]
fbb25f289b
[ci skip] build: Update actions/checkout action to v3 (#1663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 18:52:53 +01:00
NotMyFault
07bc33b52b
[ci skip] build: Ignore kyori updates until P2 supports 4.10 2022-03-14 16:20:31 +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