(fix) emote scroll

This commit is contained in:
kirillsaint 2024-02-05 14:50:43 +06:00
parent 81feece89e
commit 53b70833bf

View File

@ -56,7 +56,7 @@ public class ScreenEmoteWheel extends SilentScreen {
@Override @Override
public void initGui() { public void initGui() {
this.handlers.clear(); this.handlers.clear();
int index = page - 1; int index = (6 * page) - 6;
int currentIndex = 0; int currentIndex = 0;
for(PlayerResponse.Account.Cosmetics.CosmeticItem item : Client.getInstance().getCosmetics().getMyEmotes()) { for(PlayerResponse.Account.Cosmetics.CosmeticItem item : Client.getInstance().getCosmetics().getMyEmotes()) {
if(currentIndex >= index) { if(currentIndex >= index) {