Changes to fit new API for database transition. (#114)

Config files must implement the ConfigObject interface now instead of
DataObject. They no longer need to specify uniqueId.
This commit is contained in:
tastybento 2019-05-09 06:24:01 -07:00 committed by BONNe
parent ff6e28b27e
commit a25796613f
2 changed files with 571 additions and 590 deletions

File diff suppressed because it is too large Load Diff

View File

@ -311,7 +311,7 @@ public class Challenge implements DataObject
*/
public ItemStack getIcon()
{
return icon.clone();
return icon !=null ? icon.clone() : new ItemStack(Material.PAPER);
}