mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fix updating home privacy not working on SQLite
This commit is contained in:
1 parent
7a63e8c173
commit
a5d8b6ff35
3 files changed
+29
-8
No files matched your search
@@ -264,7 +264,7 @@ public class SavedPositionManager {
|
||||
}
|
||||
|
||||
return database.saveHome(home).thenApply(ignored -> {
|
||||
if (isHomePublic) {
|
||||
if (home.isPublic) {
|
||||
cache.publicHomes.putIfAbsent(home.owner.username, new ArrayList<>());
|
||||
cache.publicHomes.get(home.owner.username).add(home.meta.name);
|
||||
if (mapHook != null) {
|
||||
|
||||
Reference in new issue
Block a user