mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
fix chunks not being submitted
This commit is contained in:
parent
4c32949210
commit
319b3c5f7f
@ -138,7 +138,9 @@ public class SingleThreadQueueExtent extends ExtentBatchProcessorHolder implemen
|
||||
}
|
||||
final long index = MathMan.pairInt(chunk.getX(), chunk.getZ());
|
||||
chunks.remove(index, chunk);
|
||||
return submitUnchecked(chunk);
|
||||
V future = submitUnchecked(chunk);
|
||||
submissions.add(future);
|
||||
return future;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -70,7 +70,6 @@ public class InspectBrush extends BrushTool implements DoubleActionTraceTool {
|
||||
final int y = target.getBlockY();
|
||||
final int z = target.getBlockZ();
|
||||
World world = player.getWorld();
|
||||
EditSessionBuilder editSession = new EditSessionBuilder(world).player(player);
|
||||
RollbackDatabase db = DBHandler.IMP.getDatabase(world);
|
||||
final AtomicInteger count = new AtomicInteger();
|
||||
db.getPotentialEdits(null, 0, target, target, new RunnableVal<DiskStorageHistory>() {
|
||||
|
@ -145,7 +145,6 @@ public abstract class FaweChangeSet implements ChangeSet, IBatchProcessor, Close
|
||||
|
||||
@Override
|
||||
public synchronized IChunkSet processSet(IChunk chunk, IChunkGet get, IChunkSet set) {
|
||||
System.out.println("Add chunk " + chunk.getX() + "," + chunk.getZ() + " | " + set.getBitMask());
|
||||
int bx = chunk.getX() << 4;
|
||||
int bz = chunk.getZ() << 4;
|
||||
|
||||
@ -224,7 +223,6 @@ public abstract class FaweChangeSet implements ChangeSet, IBatchProcessor, Close
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return set;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user