mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 07:51:32 +01:00
(fix) emote scroll
This commit is contained in:
parent
81feece89e
commit
53b70833bf
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user