X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2Fimpl%2FReplyImpl.java;h=40d66db89a818b229ca37cebfa27b74e6514adcb;hp=341624114eeca220408638e2a36d8f77fec570f7;hb=179e7da4d8d8a474d0b622d60b5f5d32d6ab4052;hpb=76ed638264e531a26e35647d13702db865a52321 diff --git a/src/main/java/net/pterodactylus/sone/data/impl/ReplyImpl.java b/src/main/java/net/pterodactylus/sone/data/impl/ReplyImpl.java index 3416241..40d66db 100644 --- a/src/main/java/net/pterodactylus/sone/data/impl/ReplyImpl.java +++ b/src/main/java/net/pterodactylus/sone/data/impl/ReplyImpl.java @@ -1,5 +1,5 @@ /* - * Sone - ReplyImpl.java - Copyright © 2011–2015 David Roden + * Sone - ReplyImpl.java - Copyright © 2011–2019 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 @@ -26,7 +26,6 @@ import net.pterodactylus.sone.database.SoneProvider; * * @param * The type of the reply - * @author David ‘Bombe’ Roden */ public abstract class ReplyImpl> implements Reply { @@ -83,7 +82,7 @@ public abstract class ReplyImpl> implements Reply { */ @Override public Sone getSone() { - return soneProvider.getSone(soneId).get(); + return soneProvider.getSone(soneId); } /**