*
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) {
|
||||
chunk.end();
|
||||
sendChunk(chunk);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -25,7 +25,7 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
|
||||
|
||||
@Override
|
||||
public boolean next() {
|
||||
return IMP.next();
|
||||
return IMP.size() > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -97,6 +97,12 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
|
||||
IMP.flush();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void enqueue() {
|
||||
super.enqueue();
|
||||
IMP.enqueue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void refreshChunk(int x, int z) {
|
||||
IMP.sendChunk(IMP.getFaweChunk(x, z));
|
||||
|
@ -31,7 +31,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
|
||||
try {
|
||||
// If it's going to fail, throw an error now rather than later
|
||||
QueueProvider provider = QueueProvider.of(FaweLocalBlockQueue.class, null);
|
||||
GlobalBlockQueue.IMP = new GlobalBlockQueue(provider, 1);
|
||||
GlobalBlockQueue.IMP.setProvider(provider);
|
||||
HybridPlotManager.REGENERATIVE_CLEAR = false;
|
||||
Fawe.debug(" - QueueProvider: " + FaweLocalBlockQueue.class);
|
||||
Fawe.debug(" - HybridPlotManager.REGENERATIVE_CLEAR: " + HybridPlotManager.REGENERATIVE_CLEAR);
|
||||
|
Loading…
Reference in New Issue
Block a user