mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
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...
This commit is contained in:
parent
273e8cfb8e
commit
820ae19dc2
@ -56,7 +56,8 @@ public class MultiBatchProcessor implements IBatchProcessor {
|
|||||||
@Override
|
@Override
|
||||||
public IChunkSet processSet(IChunk chunk, IChunkGet get, IChunkSet set) {
|
public IChunkSet processSet(IChunk chunk, IChunkGet get, IChunkSet set) {
|
||||||
try {
|
try {
|
||||||
for (IBatchProcessor processor : this.processors) {
|
for (int i = processors.length - 1 ; i >= 0; i--) {
|
||||||
|
IBatchProcessor processor = processors[i];
|
||||||
set = processor.processSet(chunk, get, set);
|
set = processor.processSet(chunk, get, set);
|
||||||
if (set == null) {
|
if (set == null) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user