From e8db4ce104f313b9b25be7e8ff25392c783e5514 Mon Sep 17 00:00:00 2001 From: Harmonic Date: Thu, 23 Jan 2020 14:24:53 -0500 Subject: [PATCH] Revert "Merge branch 'patch-photo-extradata' into 'dev'" This reverts merge request !82 --- sqlupdates/2_3_0_TO_2_3_1.sql | 1 - src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 sqlupdates/2_3_0_TO_2_3_1.sql diff --git a/sqlupdates/2_3_0_TO_2_3_1.sql b/sqlupdates/2_3_0_TO_2_3_1.sql deleted file mode 100644 index 6fbdb885..00000000 --- a/sqlupdates/2_3_0_TO_2_3_1.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE `emulator_settings` SET `value`='{\"t\":%timestamp%, \"u\":\"%id%\", \"n\":\"%username%\", \"s\":%user_id%, \"w\":\"%url%\"}' WHERE (`key`='camera.extradata'); diff --git a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java index 04058ab5..0632c0b8 100644 --- a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java +++ b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java @@ -45,7 +45,7 @@ public class HabboInfo implements Runnable { private TIntIntHashMap currencies; private GamePlayer gamePlayer; private int photoRoomId; - private long photoTimestamp; + private int photoTimestamp; private String photoURL; private String photoJSON; private int webPublishTimestamp; @@ -430,11 +430,11 @@ public class HabboInfo implements Runnable { this.photoRoomId = roomId; } - public long getPhotoTimestamp() { + public int getPhotoTimestamp() { return this.photoTimestamp; } - public void setPhotoTimestamp(long photoTimestamp) { + public void setPhotoTimestamp(int photoTimestamp) { this.photoTimestamp = photoTimestamp; }