mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 01:57:55 +01:00
Just in case people make directories ending in .jar
This commit is contained in:
parent
ded4d52151
commit
6dda7e1c14
@ -177,7 +177,7 @@ public class PluginManager
|
|||||||
|
|
||||||
for (File file : folder.listFiles())
|
for (File file : folder.listFiles())
|
||||||
{
|
{
|
||||||
if (file.getName().endsWith(".jar"))
|
if (file.isFile() && file.getName().endsWith(".jar"))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user