mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	remove references to loadedchunks
This commit is contained in:
		@@ -71,7 +71,7 @@ public class Debug extends SubCommand {
 | 
				
			|||||||
                    TranslatableCaption.of("commandconfig.command_syntax"),
 | 
					                    TranslatableCaption.of("commandconfig.command_syntax"),
 | 
				
			||||||
                    TagResolver.resolver(
 | 
					                    TagResolver.resolver(
 | 
				
			||||||
                            "value",
 | 
					                            "value",
 | 
				
			||||||
                            Tag.inserting(Component.text("/plot debug <loadedchunks | player | debug-players | entitytypes | msg>"))
 | 
					                            Tag.inserting(Component.text("/plot debug <player | debug-players | entitytypes | msg>"))
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -186,7 +186,7 @@ public class Debug extends SubCommand {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public Collection<Command> tab(final PlotPlayer<?> player, String[] args, boolean space) {
 | 
					    public Collection<Command> tab(final PlotPlayer<?> player, String[] args, boolean space) {
 | 
				
			||||||
        return Stream.of("loadedchunks", "debug-players", "entitytypes")
 | 
					        return Stream.of("debug-players", "entitytypes")
 | 
				
			||||||
                .filter(value -> value.startsWith(args[0].toLowerCase(Locale.ENGLISH)))
 | 
					                .filter(value -> value.startsWith(args[0].toLowerCase(Locale.ENGLISH)))
 | 
				
			||||||
                .map(value -> new Command(null, false, value, "plots.admin", RequiredType.NONE, null) {
 | 
					                .map(value -> new Command(null, false, value, "plots.admin", RequiredType.NONE, null) {
 | 
				
			||||||
                }).collect(Collectors.toList());
 | 
					                }).collect(Collectors.toList());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user