Stop logging when starting the plugin failed.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / ReplyShell.java
index 355ef67..3886e63 100644 (file)
@@ -147,7 +147,7 @@ public class ReplyShell extends Reply implements Shell<Reply> {
         */
        @Override
        public long getTime() {
-               return time;
+               return (time != null) ? time : 0;
        }
 
        /**