diff --git a/src/main/java/betterquesting/questing/QuestLine.java b/src/main/java/betterquesting/questing/QuestLine.java index 3dce8848..1a526e95 100644 --- a/src/main/java/betterquesting/questing/QuestLine.java +++ b/src/main/java/betterquesting/questing/QuestLine.java @@ -6,7 +6,7 @@ import betterquesting.api.questing.IQuestLineEntry; import betterquesting.api.utils.BigItemStack; import betterquesting.api2.storage.DBEntry; -import betterquesting.api2.storage.SimpleDatabase; +import betterquesting.api2.storage.RandomIndexDatabase; import betterquesting.storage.PropertyContainer; import net.minecraft.init.Items; import net.minecraft.nbt.NBTTagCompound; @@ -15,7 +15,7 @@ import javax.annotation.Nullable; import java.util.List; -public class QuestLine extends SimpleDatabase implements IQuestLine { +public class QuestLine extends RandomIndexDatabase implements IQuestLine { private PropertyContainer info = new PropertyContainer(); public QuestLine() { diff --git a/src/main/java/betterquesting/questing/QuestLineDatabase.java b/src/main/java/betterquesting/questing/QuestLineDatabase.java index 89fc609c..de25b552 100644 --- a/src/main/java/betterquesting/questing/QuestLineDatabase.java +++ b/src/main/java/betterquesting/questing/QuestLineDatabase.java @@ -3,7 +3,7 @@ import betterquesting.api.questing.IQuestLine; import betterquesting.api.questing.IQuestLineDatabase; import betterquesting.api2.storage.DBEntry; -import betterquesting.api2.storage.SimpleDatabase; +import betterquesting.api2.storage.RandomIndexDatabase; import betterquesting.api2.utils.QuestLineSorter; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; @@ -15,7 +15,7 @@ import java.util.HashMap; import java.util.List; -public final class QuestLineDatabase extends SimpleDatabase implements IQuestLineDatabase { +public final class QuestLineDatabase extends RandomIndexDatabase implements IQuestLineDatabase { public static final QuestLineDatabase INSTANCE = new QuestLineDatabase(); private final List lineOrder = new ArrayList<>();