mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Merge pull request #1792 from Opachl/PS-#1791
fix: p visit issue in latest builds
This commit is contained in:
		@@ -88,6 +88,15 @@ public class Visit extends Command {
 | 
			
		||||
        			C.COMMAND_SYNTAX.send(player, getUsage());
 | 
			
		||||
        			return;
 | 
			
		||||
        		}
 | 
			
		||||
        		
 | 
			
		||||
        		// we found nothing we now check for a combined command arg
 | 
			
		||||
        		if((args[0].contains(";") || args[0].contains(",")) && (unsorted == null || unsorted.isEmpty())) {
 | 
			
		||||
        			Plot plot = MainUtil.getPlotFromString(player, args[0], true);
 | 
			
		||||
        			if (plot != null) {
 | 
			
		||||
                        unsorted = Collections.singletonList(plot.getBasePlot(false));
 | 
			
		||||
                    }
 | 
			
		||||
        		}
 | 
			
		||||
        		
 | 
			
		||||
        		break;
 | 
			
		||||
        	case 0:
 | 
			
		||||
        		unsorted = PS.get().getPlots(player);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user