/*
- * Sone - ReplyImpl.java - Copyright © 2011–2013 David Roden
+ * Sone - ReplyImpl.java - Copyright © 2011–2016 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package net.pterodactylus.sone.data.impl;
-import net.pterodactylus.sone.core.SoneProvider;
import net.pterodactylus.sone.data.Reply;
import net.pterodactylus.sone.data.Sone;
+import net.pterodactylus.sone.database.SoneProvider;
/**
* Abstract base class for all replies.
*/
@Override
public Sone getSone() {
- return soneProvider.getSone(soneId, false);
+ return soneProvider.getSone(soneId).get();
}
/**