Achievement RegistrationDuration

Issue #701 closed
kek created an issue

habbo/messages/incoming/handshake/UsernameEvent.java line 53

int daysRegistered = ((this.client.getHabbo().getHabboInfo().getAccountCreated() - Emulator.getIntUnixTimestamp()) / 86400);//daysRegistered will be negative
int days = 0;

if (daysRegistered - days > 0) //always will be false

Just replace this line

int daysRegistered = ((Emulator.getIntUnixTimestamp() - this.client.getHabbo().getHabboInfo().getAccountCreated()) / 86400);

Comments (3)

  1. Log in to comment