3
0
Mirror von https://github.com/TheSilentPro/HeadDB.git synchronisiert 2024-12-25 02:20:09 +01:00

refresh to current page of favorites

Dieser Commit ist enthalten in:
Silent 2024-11-30 01:13:26 +01:00
Ursprung d897b92e3a
Commit 30d6635547

Datei anzeigen

@ -178,7 +178,7 @@ public final class MenuSetup {
// Update favorites after removing the head
HeadAPI.findFavoriteHeads(player.getUniqueId(), player.hasPermission("headdb.admin")).thenAcceptAsync(updated -> {
if (!updated.isEmpty()) {
favorites(player, page); // Refresh the GUI
favorites(player, favoritesGui.getCurrentPage()); // Refresh the GUI
} else {
mainGui.open(player);
}