Skip to content

Commit ca0afad

Browse files
committed
Forgot cache point
1 parent b28c1a8 commit ca0afad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

API/src/main/java/me/ifydev/dimensify/api/backend/impl/SQLHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public boolean removePortal(String name) {
183183
DimensifyAPI.get().ifPresent(api -> api.getDisplayUtil().displayError(ConnectionError.REJECTED, Optional.empty()));
184184
return false;
185185
}
186+
this.portals.removeIf(portal -> portal.getName().equalsIgnoreCase(name));
186187

187188
try {
188189
PreparedStatement statement = connection.get().prepareStatement("DELETE FROM portals WHERE `name`=?");

0 commit comments

Comments
 (0)