mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Use placeholder
This commit is contained in:
parent
97b1a60ae8
commit
704e92c3d0
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user