From 65b88181eee35799a27ff49f87ea6782d5c474fb Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Fri, 25 Mar 2022 10:52:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B1=D0=B0=D0=B3=D0=B0=20=D0=B2=20?= =?UTF-8?q?LocalPreservable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../struchkov/godfather/core/service/save/LocalPreservable.java | 2 +- .../dev/struchkov/godfather/core/service/save/Preservable.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/LocalPreservable.java b/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/LocalPreservable.java index 50f520c..23d2b45 100644 --- a/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/LocalPreservable.java +++ b/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/LocalPreservable.java @@ -28,7 +28,7 @@ public class LocalPreservable implements Preservable { @Override public Map getAllSaveElement(Long personId) { - return null; + return saveMap.get(personId); } diff --git a/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/Preservable.java b/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/Preservable.java index 53c0f9c..2df8240 100644 --- a/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/Preservable.java +++ b/bot-core/src/main/java/dev/struchkov/godfather/core/service/save/Preservable.java @@ -33,5 +33,4 @@ public interface Preservable { Map getAllSaveElement(Long personId); - }