mirror of
https://github.com/songoda/EpicHeads.git
synced 2024-11-29 22:13:44 +01:00
Merge branch 'development'
This commit is contained in:
commit
51d280f087
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "EpicHeads"
|
name: "EpicHeads"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "3.2.4"
|
version: "3.2.5"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -3,14 +3,12 @@ package com.songoda.epicheads.utils;
|
|||||||
import com.songoda.core.compatibility.ServerVersion;
|
import com.songoda.core.compatibility.ServerVersion;
|
||||||
import com.songoda.epicheads.EpicHeads;
|
import com.songoda.epicheads.EpicHeads;
|
||||||
import com.songoda.epicheads.settings.Settings;
|
import com.songoda.epicheads.settings.Settings;
|
||||||
import org.apache.commons.lang.StringUtils;
|
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.inventory.meta.ItemMeta;
|
import org.bukkit.inventory.meta.ItemMeta;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Base64;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class Methods {
|
public class Methods {
|
||||||
|
@ -14,8 +14,9 @@ public abstract class Storage {
|
|||||||
|
|
||||||
public Storage(EpicHeads instance) {
|
public Storage(EpicHeads instance) {
|
||||||
this.instance = instance;
|
this.instance = instance;
|
||||||
this.dataFile = (new Config(instance, "", "data.yml"))
|
this.dataFile = (new Config(instance, "data.yml"))
|
||||||
.setAutosave(true);
|
.setAutosave(true);
|
||||||
|
this.dataFile.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract boolean containsGroup(String group);
|
public abstract boolean containsGroup(String group);
|
||||||
|
Loading…
Reference in New Issue
Block a user