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:
Ursprung
d897b92e3a
Commit
30d6635547
@ -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);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren