3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 12:00:07 +01:00
Increase target size
remove unnecessary brush sync
send chunk on biome change
Dieser Commit ist enthalten in:
Jesse Boyd 2019-11-17 20:29:25 +00:00
Ursprung 3f92f12e89
Commit 329df8d33b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
3 geänderte Dateien mit 3 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -453,7 +453,7 @@ public class BukkitGetBlocks_1_14 extends CharGetBlocks {
// }
Runnable callback;
if (bitMask == 0) {
if (bitMask == 0 && biomes == null) {
callback = null;
} else {
int finalMask = bitMask;

Datei anzeigen

@ -275,7 +275,7 @@ public class Settings extends Config {
" - A value too small may break some operations (deform?)"
})
public int TARGET_SIZE = 64;
public int TARGET_SIZE = 8192;
@Comment({
"Force FAWE to start placing chunks regardless of whether an edit is finished processing",
" - A larger value will use slightly less CPU time",

Datei anzeigen

@ -482,12 +482,7 @@ public class BrushTool implements DoubleActionTraceTool, ScrollTool, MovableTool
Mask mask = traceMask == null ? new SolidBlockMask(editSession) : traceMask;
new MaskTraverser(mask).reset(editSession);
MaskedTargetBlock tb = new MaskedTargetBlock(mask, player, range, 0.2);
return TaskManager.IMP.sync(new RunnableVal<Vector3>() {
@Override
public void run(Vector3 value) {
this.value = tb.getMaskedTargetBlock(useLastBlock);
}
});
return tb.getMaskedTargetBlock(useLastBlock);
}
public boolean act(BrushAction action, Player player, LocalSession session) {