mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Fix loading channels (for real this time)
This commit is contained in:
1 parent
9c4187124a
commit
f8c465925a
3 files changed
+12
-10
No files matched your search
@@ -8,7 +8,6 @@ import org.spongepowered.configurate.objectmapping.ObjectMappingException;
|
||||
import org.spongepowered.configurate.objectmapping.Setting;
|
||||
import org.spongepowered.configurate.serialize.ConfigSerializable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -45,9 +44,6 @@ public class CarbonSettings {
|
||||
@Setting(comment = "Set this to false to disable warnings and tips when the plugin thinks there may be configuration issues.")
|
||||
private boolean showTips = true;
|
||||
|
||||
@Setting(comment = "")
|
||||
private @NonNull List<@NonNull ChannelOptions> channelSettings = new ArrayList<>(); // TODO: unfuck this, it's loaded from file?
|
||||
|
||||
@Setting(comment = "Options: JSON, MYSQL")
|
||||
private @Nullable StorageType storageType = StorageType.JSON;
|
||||
|
||||
@@ -108,10 +104,6 @@ public class CarbonSettings {
|
||||
return this.showTips;
|
||||
}
|
||||
|
||||
public @NonNull List<@NonNull ChannelOptions> channelOptions() {
|
||||
return this.channelSettings;
|
||||
}
|
||||
|
||||
public @Nullable StorageType storageType() {
|
||||
return this.storageType;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user