mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	don't double-up schematic x/z offsets
This commit is contained in:
		@@ -337,8 +337,8 @@ public abstract class SchematicHandler {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    for (int rz = 0; rz <= blockArrayClipboard.getDimensions().getZ(); rz++) {
 | 
					                    for (int rz = 0; rz <= blockArrayClipboard.getDimensions().getZ(); rz++) {
 | 
				
			||||||
                        for (int rx = 0; rx < blockArrayClipboard.getDimensions().getX(); rx++) {
 | 
					                        for (int rx = 0; rx < blockArrayClipboard.getDimensions().getX(); rx++) {
 | 
				
			||||||
                            int xx = p1x + xOffset + rx;
 | 
					                            int xx = p1x + rx;
 | 
				
			||||||
                            int zz = p1z + zOffset + rz;
 | 
					                            int zz = p1z + rz;
 | 
				
			||||||
                            BaseBlock id = blockArrayClipboard.getFullBlock(BlockVector3.at(rx, ry, rz));
 | 
					                            BaseBlock id = blockArrayClipboard.getFullBlock(BlockVector3.at(rx, ry, rz));
 | 
				
			||||||
                            queue.setBlock(xx, yy, zz, id);
 | 
					                            queue.setBlock(xx, yy, zz, id);
 | 
				
			||||||
                            if (ry == 0) {
 | 
					                            if (ry == 0) {
 | 
				
			||||||
@@ -348,9 +348,6 @@ public abstract class SchematicHandler {
 | 
				
			|||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if (whenDone != null) {
 | 
					 | 
				
			||||||
                    whenDone.value = true;
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                if (actor != null && Settings.QUEUE.NOTIFY_PROGRESS) {
 | 
					                if (actor != null && Settings.QUEUE.NOTIFY_PROGRESS) {
 | 
				
			||||||
                    queue.addProgressSubscriber(subscriberFactory.createWithActor(actor));
 | 
					                    queue.addProgressSubscriber(subscriberFactory.createWithActor(actor));
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user