Merge branch 'development' into paldiu-local

This commit is contained in:
Paldiu
2021-01-04 13:14:53 -06:00
15 changed files with 177 additions and 64 deletions

View File

@ -27,8 +27,8 @@ public class SavedFlags extends FreedomService
public Map<String, Boolean> getSavedFlags()
{
Map<String, Boolean> flags = null;
File input = new File(TotalFreedomMod.getPlugin().getDataFolder(), SAVED_FLAGS_FILENAME);
File input = new File(Objects.requireNonNull(TotalFreedomMod.plugin()).getDataFolder(), SAVED_FLAGS_FILENAME);
if (input.exists())
{
try