mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-07-21 14:04:29 +02:00
move folder debug msg above listfiles
This commit is contained in:
@@ -409,9 +409,10 @@ public final class LocalExpansionManager implements Listener {
|
|||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public CompletableFuture<@NotNull List<@Nullable Class<? extends PlaceholderExpansion>>> findExpansionsOnDisk() {
|
public CompletableFuture<@NotNull List<@Nullable Class<? extends PlaceholderExpansion>>> findExpansionsOnDisk() {
|
||||||
|
System.out.println(folder);
|
||||||
|
|
||||||
File[] files = folder.listFiles((dir, name) -> name.endsWith(".jar"));
|
File[] files = folder.listFiles((dir, name) -> name.endsWith(".jar"));
|
||||||
|
|
||||||
System.out.println(folder);
|
|
||||||
System.out.println("FIND FILES - " + Arrays.toString(files));
|
System.out.println("FIND FILES - " + Arrays.toString(files));
|
||||||
|
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user