mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-02-27 01:41:24 +01:00
*
This commit is contained in:
parent
36fdbe55fe
commit
6dfea0364a
@ -206,6 +206,7 @@ public abstract class MappedFaweQueue<WORLD, CHUNK, SECTION> extends FaweQueue {
|
|||||||
|
|
||||||
public void end(FaweChunk chunk) {
|
public void end(FaweChunk chunk) {
|
||||||
chunk.end();
|
chunk.end();
|
||||||
|
sendChunk(chunk);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -25,7 +25,7 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean next() {
|
public boolean next() {
|
||||||
return IMP.next();
|
return IMP.size() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -97,6 +97,12 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
|
|||||||
IMP.flush();
|
IMP.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void enqueue() {
|
||||||
|
super.enqueue();
|
||||||
|
IMP.enqueue();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void refreshChunk(int x, int z) {
|
public void refreshChunk(int x, int z) {
|
||||||
IMP.sendChunk(IMP.getFaweChunk(x, z));
|
IMP.sendChunk(IMP.getFaweChunk(x, z));
|
||||||
|
@ -31,7 +31,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
|
|||||||
try {
|
try {
|
||||||
// If it's going to fail, throw an error now rather than later
|
// If it's going to fail, throw an error now rather than later
|
||||||
QueueProvider provider = QueueProvider.of(FaweLocalBlockQueue.class, null);
|
QueueProvider provider = QueueProvider.of(FaweLocalBlockQueue.class, null);
|
||||||
GlobalBlockQueue.IMP = new GlobalBlockQueue(provider, 1);
|
GlobalBlockQueue.IMP.setProvider(provider);
|
||||||
HybridPlotManager.REGENERATIVE_CLEAR = false;
|
HybridPlotManager.REGENERATIVE_CLEAR = false;
|
||||||
Fawe.debug(" - QueueProvider: " + FaweLocalBlockQueue.class);
|
Fawe.debug(" - QueueProvider: " + FaweLocalBlockQueue.class);
|
||||||
Fawe.debug(" - HybridPlotManager.REGENERATIVE_CLEAR: " + HybridPlotManager.REGENERATIVE_CLEAR);
|
Fawe.debug(" - HybridPlotManager.REGENERATIVE_CLEAR: " + HybridPlotManager.REGENERATIVE_CLEAR);
|
||||||
|
Loading…
Reference in New Issue
Block a user