mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 18:53:43 +01:00 
			
		
		
		
	clean merge up
This commit is contained in:
		@@ -55,7 +55,7 @@ public class Merge extends SubCommand {
 | 
				
			|||||||
                MainUtil.sendMessage(player, C.NO_PLOT_PERMS);
 | 
					                MainUtil.sendMessage(player, C.NO_PLOT_PERMS);
 | 
				
			||||||
                return false;
 | 
					                return false;
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                uuid = plot.owner;
 | 
					                uuid = plot.guessOwner();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        final PlotArea plotArea = plot.getArea();
 | 
					        final PlotArea plotArea = plot.getArea();
 | 
				
			||||||
@@ -155,8 +155,7 @@ public class Merge extends SubCommand {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
            isOnline = true;
 | 
					            isOnline = true;
 | 
				
			||||||
            final int dir = direction;
 | 
					            final int dir = direction;
 | 
				
			||||||
            Runnable run = new Runnable() {
 | 
					            Runnable run = () -> {
 | 
				
			||||||
                @Override public void run() {
 | 
					 | 
				
			||||||
                MainUtil.sendMessage(accepter, C.MERGE_ACCEPTED);
 | 
					                MainUtil.sendMessage(accepter, C.MERGE_ACCEPTED);
 | 
				
			||||||
                plot.autoMerge(dir, maxSize - size, owner, terrain);
 | 
					                plot.autoMerge(dir, maxSize - size, owner, terrain);
 | 
				
			||||||
                PlotPlayer plotPlayer = UUIDHandler.getPlayer(player.getUUID());
 | 
					                PlotPlayer plotPlayer = UUIDHandler.getPlayer(player.getUUID());
 | 
				
			||||||
@@ -173,7 +172,6 @@ public class Merge extends SubCommand {
 | 
				
			|||||||
                    sendMessage(player, C.REMOVED_BALANCE, String.valueOf(price));
 | 
					                    sendMessage(player, C.REMOVED_BALANCE, String.valueOf(price));
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                MainUtil.sendMessage(player, C.SUCCESS_MERGE);
 | 
					                MainUtil.sendMessage(player, C.SUCCESS_MERGE);
 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
            if (hasConfirmation(player)) {
 | 
					            if (hasConfirmation(player)) {
 | 
				
			||||||
                CmdConfirm.addPending(accepter,
 | 
					                CmdConfirm.addPending(accepter,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user