Commit Graph

5338 Commits

Author SHA1 Message Date
dordsor21
7a0dc39eb7
Apply a lot of synchronization to ChunkHolder (#941)
This is basically the main "chunk" class for internal FAWE. Chunk operations should (and are) almost always single-threaded operations, however, under certain circumstances it is possible for the chunk to be "called" (flushed: written to the world and sent to the player) from a separate thread. This would specifically occur from SingleThreadQueueExtent when there are a lot of chunks being loaded in memory by FAWE (where the chunk would then be submitted to a multi-threaded queue). It would therefore be possible for a thread accessing the chunk to attempt to access it in the middle of the call, which can lead to a number of issues, and it is my opinion that the most frequent of these is the NPE seen during lighting operations, where new chunks can be accessed/loaded very quickly, increasing the likelihood for the aforementioned synchronisation issue to occur.

Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
2021-03-03 15:26:00 +01:00
NotMyFault
6bd866bdf7
Making renovate happy
Closes #940
Closes #933
Closes #931
2021-02-27 15:52:50 +01:00
NotMyFault
32b5261e17
Strip "additional context" box from templates 2021-02-26 17:34:23 +01:00
NotMyFault
1a3f479c67
Move to new templates (#936) 2021-02-26 10:35:03 +01:00
NotMyFault
0b65533294
Show a message with install instructions when running the jar file
Co-Authored-By: Matthew Miller <mnmiller1@me.com>
2021-02-25 22:58:17 +01:00
renovate[bot]
bc686a611d
Update dependency com.comphenix.protocol:ProtocolLib to v4.6.0 (#921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-23 23:46:29 +01:00
renovate[bot]
7696bb92c7
Update dependency gradle to v6.8.3 (#930)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-23 21:53:02 +01:00
NotMyFault
4af3cc6e4c
Closes #929 2021-02-22 11:13:08 +01:00
Hannes Greule
d632c642ff
Don't add entities to chunk on regen (#927)
Co-authored-by: NotMyFault <mc.cache@web.de>
2021-02-22 11:11:13 +01:00
NotMyFault
51163ffc40
Fix gitattributes
Co-Authored-By: Octavia Togami <2093023+octylFractal@users.noreply.github.com>
2021-02-22 11:08:45 +01:00
NotMyFault
f5956b66a8
Present adventure on compile time
Co-Authored-By: Hannes Greule <SirYwell@users.noreply.github.com>
2021-02-22 11:04:12 +01:00
NotMyFault
4a6af7182a
Improve per-player schematic declaration 2021-02-22 10:47:34 +01:00
Aurora
e550189cb8
Add more debug output to find a error (#924) 2021-02-19 20:19:19 +01:00
NotMyFault
e8169afd64
Boost TileEntity clear performance, with extra boost on Paper 2021-02-19 19:58:36 +01:00
Matt
14c0d4a5e8
Update build.yml 2021-02-18 14:19:37 -05:00
NotMyFault
80b6a100e8
Switch to vanity url 2021-02-16 23:49:04 +01:00
NotMyFault
e3ab9035a8
Fixes #911 2021-02-15 19:40:38 +01:00
NotMyFault
af987016fc
Fixes #910 2021-02-15 12:24:33 +01:00
NotMyFault
0a721b18ce
Implement methods 2021-02-14 19:56:05 +01:00
NotMyFault
366ff738e2
Update bStats
Closes #912
Closes #913
2021-02-14 19:40:15 +01:00
MattBDev
20304bf7ad Cherry-pick build-script changes from upstream 2021-02-11 12:00:28 -05:00
MattBDev
8981a5c484 Merge remote-tracking branch 'origin/main' 2021-02-11 11:45:11 -05:00
NotMyFault
83e5e8ea27
Improve note if Fawe is used on an older mc release 2021-02-10 17:49:34 +01:00
NotMyFault
eead11f32a
Fixes #265 2021-02-08 13:20:56 +01:00
dordsor21
5f83643d88
Couple of command fixes
fixes #899
2021-02-05 23:20:15 +00:00
dordsor21
2ab207cfe9
Fix occasional NPE when removing section lighting 2021-02-05 16:05:53 +00:00
NotMyFault
3df080abe4
Add note if clipboard >= Integer.MAX_VALUE 2021-02-05 13:21:15 +01:00
Octavia Togami
8b1f043dc5 Update so many dependencies, merge Forge/Fabric for final jar (#1651)
* Update so many dependencies, merge Forge/Fabric for final

* Clean up contrib docs for Gradle change

* Fix setting compat flags while using toolchain

* Fix deprecation in doc printer

* Restore proper forge JAR name

* Add dist classifier for mod jar

* Properly relocate new bStats

* Fix jar used from fabric

* Fix fabric bom

* Dup the shaded classes for consistency

* Sync Forge/Fabric log4j versions, de-dup

* Downgrade both log4j. This will work

* Update some plugins as well

* Drop the fabric force stuff

* Use duplicate strategy to directly merge jar
2021-02-04 17:45:49 -05:00
MattBDev
f3d4621589 Minor build script changes 2021-02-04 17:06:49 -05:00
NotMyFault
ac16c9a2ba Minor upstream merge 2021-02-03 23:08:39 +01:00
NotMyFault
c1f6e43763
Merge branch 'main' of https://github.com/IntellectualSites/FastAsyncWorldEdit into main 2021-02-01 22:40:42 +01:00
NotMyFault
3e37a66a12
Leave a better note about EOL versions 2021-02-01 22:40:27 +01:00
NotMyFault
a49ebb4578
Update renovate.json 2021-02-01 20:11:23 +01:00
dordsor21
f88432a709
Fix incorrect Collections#unmodifiableSet usage 2021-02-01 15:07:54 +00:00
NotMyFault
09ba78d1e9
Relocate serverlib properly 2021-02-01 15:23:47 +01:00
NotMyFault
a13e43fecd
Update issue template 2021-01-31 09:31:06 +01:00
NotMyFault
bfc37f1628
Update ServerLib 2021-01-30 13:14:48 +01:00
NotMyFault
818a75b809
Update dependency com.github.luben:zstd-jni to v1.4.8-2 2021-01-28 15:48:01 +01:00
dordsor21
287aa9dd8b
Remove bad default copy method in AbstractMask 2021-01-28 14:23:00 +00:00
dordsor21
485781f711
Merge branch 'main' of github.com:IntellectualSites/FastAsyncWorldEdit 2021-01-28 13:13:10 +00:00
dordsor21
781f39f71a
Properly define /ore arguments
Fix #885
2021-01-28 12:54:55 +00:00
NotMyFault
dd65cffe86
Relocate properly 2021-01-24 12:01:03 +01:00
NotMyFault
0bba9c5ac7
Update bStats 2021-01-24 10:44:22 +01:00
renovate[bot]
16f72d1cfd
Update dependency gradle to v6.8.1 (#879)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
2021-01-22 23:36:08 +01:00
NotMyFault
86ecd9f553
Move to ServerLib 2021-01-22 23:23:08 +01:00
N0tMyFaultOG
9cfcaa7605
Improve texture util if version is missing
This could defo be done cleaner, but it works for now.
2021-01-21 20:20:09 +01:00
N0tMyFaultOG
1a5c7bfb28
Merge branch 'renovate/com.google.code.gson-gson-2.x' of https://github.com/IntellectualSites/FastAsyncWorldEdit into renovate/com.google.code.gson-gson-2.x 2021-01-21 17:04:11 +01:00
Renovate Bot
44a95b47a4
Update dependency com.google.code.gson:gson to v2.8.6 2021-01-21 16:03:36 +00:00
N0tMyFaultOG
487d817542
Merge branch 'main' into renovate/com.google.code.gson-gson-2.x 2021-01-21 16:59:18 +01:00
Renovate Bot
e9da3daf9e
Update dependency it.unimi.dsi:fastutil to v8.4.4 2021-01-21 12:53:43 +00:00