mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Use placeholder
This commit is contained in:
		@@ -43,10 +43,10 @@ public abstract class QueueProvider {
 | 
				
			|||||||
                try {
 | 
					                try {
 | 
				
			||||||
                    return (QueueCoordinator) primary.getConstructors()[0].newInstance(world);
 | 
					                    return (QueueCoordinator) primary.getConstructors()[0].newInstance(world);
 | 
				
			||||||
                } catch (Throwable e) {
 | 
					                } catch (Throwable e) {
 | 
				
			||||||
                    logger.info("Error creating Queue: " + primary.getName() + " - Does it have the correct constructor(s)?");
 | 
					                    logger.error("Error creating Queue: {} - Does it have the correct constructor(s)?", primary.getName());
 | 
				
			||||||
                    if (!primary.getName().contains("com.plotsquared")) {
 | 
					                    if (!primary.getName().contains("com.plotsquared")) {
 | 
				
			||||||
                        logger.info("It looks like " + primary.getSimpleName()
 | 
					                        logger.error("It looks like {} is a custom queue. Please look for a plugin in its classpath and report to them.",
 | 
				
			||||||
                            + " is a custom queue. Please look for a plugin in its classpath and report to themm");
 | 
					                            primary.getSimpleName());
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    e.printStackTrace();
 | 
					                    e.printStackTrace();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user