31cc5e0b60
Synchronise on the nmsWorld so we're not attempting to load two chunks at the same time. Possibly fixes#471
dordsor21
2020-05-18 16:04:10 +01:00
5be11c541b
Put the synchronisation higher up the food chain
dordsor21
2020-05-14 22:32:32 +01:00
3a7c23be45Fix#443 Temp as it's performance-degrading, but works well enough for now
dordsor21
2020-05-14 22:10:09 +01:00
35169230ad
Sort of fix biome getting It seems to want to put random blocks where the biome isn't
dordsor21
2020-05-14 16:27:24 +01:00
36faf107e6
Allow fastmode to be used in a lot more places - Option to stop fastmode from bothering to fix existing ticking blocks
dordsor21
2020-05-11 15:36:52 +01:00
0dee452e1a
Don't attempt to set field on null ChunkSection
dordsor21
2020-05-09 17:42:40 +01:00
cb20cef0e6
Fix loading schematic from URLs
dordsor21
2020-05-09 16:45:42 +01:00
56175ffe0f
Revert this so it compiles on the ci for now.
dordsor21
2020-05-09 16:30:28 +01:00
b1f1c0f4f0
Possible fix for #331 - Should ensure the server doesn't tick the chunksection while we're editing it - Basically using the old issue with FAWE breaking block ticking by setting this to zero :)
dordsor21
2020-05-09 16:23:38 +01:00
8f60544aad
Override some methods in AsyncWorld
dordsor21
2020-05-09 15:11:40 +01:00
42d7419b4bFixes#402 - Similar to previous commit. If the chunksection was empty, then __reserved__ was parsed to the clipboard, and then not correctly identified as air - Now assume all __reserved__ is air when writing to clipboards
dordsor21
2020-05-09 13:56:41 +01:00
ffa25b1d9aFixes#452 - ChunkSections containing only air are technically null according to NMS Chunks - Therefore if we're replacing air, we should ignore the result of get.hasSection(layer) by using "full = true" as it returns false if the chunksection is only air - We also then need to ensure that the masks correctly identify that the block is "air"
dordsor21
2020-05-09 13:39:41 +01:00
56c720914e
Settings.IMP is terrible. Don't initialise it thousands of times.
dordsor21
2020-05-08 18:17:47 +01:00
c757b01803
By default only allow existing blocks to tick. - Revert back to default FAWE behaviour where placed blocks do not tick by default (until a restart, or another edit is done in the same chunksection without changing the block)
dordsor21
2020-05-08 16:16:08 +01:00
56972ee40b
Trim performance (#451)
dordsor21
2020-05-07 23:00:13 +01:00
3abf964620
Better logic for selecting schematic format. - You had to specifically use //schem load <schematic>.schematic mcedit to load legacy schematics, now if you're loading .schematic it assumes you're wanting mcedit format - If you end up attempting to load an mcedit schematic with the sponge reader it now throws an exception.
dordsor21
2020-05-05 16:16:27 +01:00
6dec0ab2ba
Override #equals method in AbstractRegion.java
IronApollo
2020-05-03 19:51:48 -04:00
ef3642d521
Small spring cleaning I changed really small bits and pieces of code. If you have questions just comment and I'll answer them.
MattBDev
2020-04-30 16:26:52 -04:00
9869cf09c6
Apply fda7d00747 to other versions so numpties that use old versions for no reason stop complaining too
dordsor21
2020-04-30 15:14:59 +01:00
8247f78e9d
Override hashCode method in AbstractRegion
IronApollo
2020-04-29 14:17:05 -04:00
ba6c391461
Merge pull request #432 from pgrimaud/1.15
Matt
2020-04-29 13:40:46 -04:00
f9a40599fb
Fix typos
Pierre Grimaud
2020-04-29 19:36:34 +02:00
fda7d00747
A more verbose fix to #329 and similar issues. - Re-read chunksections the first time they're "loaded" for an operation - Reset the chunksection if there are block changes when setting blocks via reflection - These are maybe gonna affect performance a bit? Idk. Seems to be alright for me - These are maybe gonna make more issues? Yeah maybe, but I couldn't find any
dordsor21
2020-04-29 18:17:21 +01:00
396b03edf7
Add compatibility handlers for beds and banners for MCEdit Schematics (#561)
chickeneer
2020-04-23 20:08:59 -05:00
77a2f1bc41
Remove unneeded repository PlotSquared 4 and PlotSquared 5 are both on the same maven repo
MattBDev
2020-04-24 15:54:40 -04:00
820ae19dc2
Read processors in reverse order. - EditSessionBuilder always assigns the history processors before the limit extents, meaning the limit did not get properly flushed to history, but because spigot is notified of the changes after the processes have taken place, the correct edit was displayed to the player and placed into the world. - This might break other stuff...
dordsor21
2020-04-23 23:46:43 +01:00
8bde932354
Add p2 v4 compat. Anyone that hasn't built FAWE before won't be able to build it again as the v4 repo doesn't exist - it relies on local gradle cache.
dordsor21
2020-04-22 08:10:17 +01:00
c478dbd249
Backport changes
Alexander Söderberg
2020-04-21 23:58:14 +02:00
330fc39dde
Further non-standard selection fixes as per #393 - Fix incorrect usage of initChunk (it's run in the right place now) - Fix poorly implemented //sel sphere "improvements"
dordsor21
2020-04-19 19:46:41 +01:00
b52fc46f19
Regarding #393 - Fix CharFilterBlock not being properly created (the chunk X and Z were never set) - Replace BlockVector3#divide with bitshift because you can't divide down and then bitshift back up with the correct results for negative values
dordsor21
2020-04-19 13:56:02 +01:00
7b9a64e9a6
add a bunch of // aliases for commands
dordsor21
2020-04-19 11:43:30 +01:00