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())
|
||||
{
|
||||
if (file.getName().endsWith(".jar"))
|
||||
if (file.isFile() && file.getName().endsWith(".jar"))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user