You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
🆙 Small fix Wired Highscore
This commit is contained in:
+2
-1
@@ -90,6 +90,7 @@ public class InteractionWiredHighscore extends HabboItem {
|
||||
try {
|
||||
int state = Integer.parseInt(this.getExtradata());
|
||||
this.setExtradata(Math.abs(state - 1) + "");
|
||||
this.needsUpdate(true);
|
||||
room.updateItem(this);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Caught exception", e);
|
||||
@@ -150,4 +151,4 @@ public class InteractionWiredHighscore extends HabboItem {
|
||||
public void reloadData() {
|
||||
this.data = Emulator.getGameEnvironment().getItemManager().getHighscoreManager().getHighscoreRowsForItem(this.getId(), this.clearType, this.scoreType);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user