From 8b3d95943ab64dcdf6ef5f22b573104887bf1d96 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Sun, 19 Jun 2022 17:40:34 +0100 Subject: [PATCH] Essentials no longer requires the "Plugins" folder to exist --- Data/Scripts/001_Technical/005_PluginManager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/001_Technical/005_PluginManager.rb b/Data/Scripts/001_Technical/005_PluginManager.rb index 2c2a56578..42a1f3ee8 100644 --- a/Data/Scripts/001_Technical/005_PluginManager.rb +++ b/Data/Scripts/001_Technical/005_PluginManager.rb @@ -484,7 +484,7 @@ module PluginManager # Get a list of all the plugin directories to inspect #----------------------------------------------------------------------------- def self.listAll - return [] if !$DEBUG || safeExists?("Game.rgssad") + return [] if !$DEBUG || safeExists?("Game.rgssad") || !Dir.safe?("Plugins") # get a list of all directories in the `Plugins/` folder dirs = [] Dir.get("Plugins").each { |d| dirs.push(d) if Dir.safe?(d) }