mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 18:53:43 +01:00 
			
		
		
		
	Fixes #1828
This commit is contained in:
		@@ -91,7 +91,7 @@ public class Load extends SubCommand {
 | 
				
			|||||||
                            sendMessage(player, C.SCHEMATIC_INVALID, "non-existent or not in gzip format");
 | 
					                            sendMessage(player, C.SCHEMATIC_INVALID, "non-existent or not in gzip format");
 | 
				
			||||||
                            return;
 | 
					                            return;
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        SchematicHandler.manager.paste(schematic, plot, 0, 0, 0, true, new RunnableVal<Boolean>() {
 | 
					                        SchematicHandler.manager.paste(schematic, plot, 0, 0, 0, false, new RunnableVal<Boolean>() {
 | 
				
			||||||
                            @Override
 | 
					                            @Override
 | 
				
			||||||
                            public void run(Boolean value) {
 | 
					                            public void run(Boolean value) {
 | 
				
			||||||
                                plot.removeRunning();
 | 
					                                plot.removeRunning();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -64,6 +64,8 @@ public class Save extends SubCommand {
 | 
				
			|||||||
                    public void run() {
 | 
					                    public void run() {
 | 
				
			||||||
                        String time = (System.currentTimeMillis() / 1000) + "";
 | 
					                        String time = (System.currentTimeMillis() / 1000) + "";
 | 
				
			||||||
                        Location[] corners = plot.getCorners();
 | 
					                        Location[] corners = plot.getCorners();
 | 
				
			||||||
 | 
					                        corners[0].setY(0);
 | 
				
			||||||
 | 
					                        corners[1].setY(255);
 | 
				
			||||||
                        int size = (corners[1].getX() - corners[0].getX()) + 1;
 | 
					                        int size = (corners[1].getX() - corners[0].getX()) + 1;
 | 
				
			||||||
                        PlotId id = plot.getId();
 | 
					                        PlotId id = plot.getId();
 | 
				
			||||||
                        String world = plot.getArea().toString().replaceAll(";", "-").replaceAll("[^A-Za-z0-9]", "");
 | 
					                        String world = plot.getArea().toString().replaceAll(";", "-").replaceAll("[^A-Za-z0-9]", "");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user