Commit Graph

6554 Commits

Author SHA1 Message Date
6f5430a940 Some cleanup of mutables 2021-08-11 14:00:12 +01:00
8928556c1d Minor improvement to MathMan#isInteger 2021-08-11 12:32:46 +01:00
7d3a9ff36d Fixed Unit Tests (BlockVector3.isLongPackable) (#1168)
* Fixed Unit Tests (BlockVector3.isLongPackable)

* Re-enable tests for ci

* Address gh action dependency complaints

* Fix "invalid usage of tag &" for MinecraftVersion.java

* Simple StubServer for BukkitWorldTest.java

* Add parallelgzip to test runtime, fixed javadoc encoding, make gradlew executable and patch StubServer for latest spigot / paper release

* Move Javadoc UTF-8 to PlatformConfig.kt

* Revert "make gradlew executable"
Was required for act to run, but not required for GH actions - Weird behavior

* Mark upstream changes, move class + apply editorconfig

Co-authored-by: NotMyFault <mc.cache@web.de>
Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
2021-08-10 09:31:37 +01:00
31b41235ac Update adapters 2021-08-09 14:34:39 +01:00
9ea5a94941 Use temurin for gh actions 2021-08-09 15:09:55 +02:00
a1e6839cae Improve jd of MinecraftVersion#getPackageVersion 2021-08-09 11:36:50 +02:00
e2b2feb7c5 Use MethodHandle for faster event bus (#1865)
* Use MethodHandle for faster event bus

* Implement hashCode/equals

* Apply review comments

* Bind to the object directly
2021-08-09 10:21:42 +01:00
57f7c93033 Fix history rollback
- Fixes #959
2021-08-08 19:35:57 +01:00
f06ba41f91 Fix Cycler tool not using full block data (#1868)
(cherry picked from commit 8ee45137aa5d7a3b80b661601ab14e48f13756ec)
2021-08-08 17:33:45 +01:00
6562f8adbd Update adapters 2021-08-08 12:09:05 +01:00
08ebef2905 Break file to make git notice it 2021-08-08 12:08:55 +01:00
c58b143552 Update adapters to 3f6df1adee 2021-08-08 12:03:52 +01:00
d10b038e84 Create SurfaceAngleMask (#1215) 2021-08-08 09:59:42 +00:00
2376ce8d9d Add thickness to //hcyl and //br cylinder -h
- Closes #753
2021-08-08 10:02:58 +01:00
75b888a9f0 Add missing translation keys 2021-08-08 01:52:28 +02:00
9af77c06b8 Fix ParallelQueueExtent#setBlocks(Region, <B extends BlockStateHolder>)#
- Fixes removeabove/removebelow
2021-08-07 17:38:09 +01:00
346223977d Add javadoc comments to generateTree 2021-08-07 16:28:41 +01:00
e90b261196 Trees should be generated on the main thread
- Also remove warning when using tree tool
2021-08-07 16:19:41 +01:00
0d84967853 Fixes #1219 2021-08-07 16:12:03 +01:00
abaa347ad4 Fix major security bugs (3 brushes + superpickaxe)! (#1213)
* Fix major security bugs (3 brushes + superpickaxe)!
- Due to some recent changes, FAWE could edit everything in the world, no matter other plugin protections such as PS or WG.
- Fix superpickaxe allow to bypass protections => Fix SurvivalModeExtent not taking into account protections plugins due to breaking blocks naturally to get drops.

* Adress requests
- Revert some unsuitabe changes
- Add FAWE diff comments

* Clean imports

* Adress requests

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-08-07 11:09:33 +02:00
14b3fd2085 Fixed parameter name 2021-08-05 17:38:44 -04:00
14fc2dbf9b Fix fawe-deprecation javadoc linking 2021-08-05 18:33:19 +02:00
c468d22120 Fixes #1208 2021-08-05 15:55:20 +02:00
3ccb5e0aed Use translation message for brush assignment 2021-08-04 22:44:24 +02:00
2bcf3eedf1 Add //br snow
Apparently an upstream addition we forgot to pull.
2021-08-04 22:29:43 +02:00
45a8030aeb Update Upstream
b9f0416 Use a Guava Cache instead of a ThreadLocal (1862)
2021-08-02 22:10:21 +02:00
a5e84dcfea Switch to version catalogs
- Closes #1204
- Switch to security advisory
- Move fawe-tests to fawe packages
2021-08-01 19:28:51 +02:00
9f3a451ef6 Fixes #756 2021-07-31 14:18:04 +02:00
678fb0a8b3 Fixes #1201 2021-07-30 01:31:25 +02:00
d62a1b5ad3 Always trim chunk GET in ChunkHolder
- Possibly something to do with #1169
2021-07-29 20:37:10 +01:00
84b9dce6be Move debug notes to logger factory 2021-07-29 21:11:23 +02:00
17019ac723 Archive workflow artifacts 2021-07-28 15:04:49 +02:00
69067fe8c8 Leave a note about (temporary) not undoable tree tools 2021-07-27 19:45:31 +02:00
77e44c80c2 [ci skip] Update Javadocs URL 2021-07-27 01:13:26 +02:00
e1d18dc896 (Temporarily) Include datapacks in debugpaste 2021-07-26 20:40:18 +02:00
b4f9ade5bd Fixes #1071 2021-07-26 17:05:54 +02:00
39f6a2e17f Update adapters 2021-07-26 01:14:01 +02:00
92b4524dd6 Update Upstream
f414af5 Fix the offset mask forcing negation of itself (1656)
2021-07-26 00:48:38 +02:00
aae5d037db Reduce gh actions time by ~75% (~6 minutes) 2021-07-25 17:46:33 +02:00
844691fa2c Remove checkstyle files 2021-07-24 22:48:58 +02:00
f479e32b5f Update contributing url 2021-07-24 19:28:28 +02:00
8ba2eb3330 [CI-SKIP] update bug report template to reflect 1.17 FAWE 2021-07-24 17:17:43 +01:00
8c0195970b Add and apply .editorconfig from P2 (#1195)
* Consistenty use javax annotations.
 - Unfortunately jetbrains annotations seem to be exposed transitively via core somewhere, but with the correct IDE settings, annotations can be defaulted to javax
 - Cleaning up of import order in #1195
 - Must be merged before #1195

* Add and apply .editorconfig from P2
 - Does not rearrange entries

* Address some comments

* add back some javadoc comments

* Address final comments

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-07-24 16:34:05 +01:00
3b4beba7d6 Improve performance of various commands/actions
- Add chunk preloading to RegionVisitor if supplied with a suitable Extent
 - Where extents are used in masks, set EditSession as the extent as they are otherwise initialised with WorldWrapper that is very slow
 - Fixes #1073
2021-07-24 15:47:22 +01:00
f2ee2248e0 Consistenty use javax annotations. (#1197)
- Unfortunately jetbrains annotations seem to be exposed transitively via core somewhere, but with the correct IDE settings, annotations can be defaulted to javax
 - Cleaning up of import order in #1195
 - Must be merged before #1195

Co-authored-by: NotMyFault <mc.cache@web.de>
2021-07-24 15:52:08 +02:00
5e9535db41 Re-add shading/relocation of fastutils and add a dumb class because minimise doesn't scan worldedit-adapters 2021-07-24 14:12:59 +01:00
46f2a202e6 Remove unneeded maven repos 2021-07-24 14:28:35 +02:00
b599d86a1c Assume it's safe not to shade or relocate fastutils 2021-07-24 13:14:58 +01:00
8f55d3f9a4 update adapters 2021-07-24 13:14:19 +01:00
41f4aadf40 Update to 1.17.1 texture jar 2021-07-24 12:19:44 +01:00