mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-12-29 04:18:05 +01:00
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:
parent
ff6e28b27e
commit
a25796613f
File diff suppressed because it is too large
Load Diff
@ -311,7 +311,7 @@ public class Challenge implements DataObject
|
||||
*/
|
||||
public ItemStack getIcon()
|
||||
{
|
||||
return icon.clone();
|
||||
return icon !=null ? icon.clone() : new ItemStack(Material.PAPER);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user