Changes to fit new API for database transition.

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-07 21:48:49 -07:00
parent c8088f275d
commit cd2a1826d9
3 changed files with 572 additions and 591 deletions

View File

@ -36,7 +36,7 @@
<powermock.version>1.7.4</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.4.0</bentobox.version>
<bentobox.version>1.5.0-SNAPSHOT</bentobox.version>
<level.version>1.3.0</level.version>
<vault.version>68f14ec</vault.version>
<!-- Revision variable removes warning about dynamic version -->

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);
}