mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 09:50:51 +01:00
fixed WIRED Condition: Furni States and Positions Match bug
This commit is contained in:
parent
6f0fcafb7b
commit
d3aaca0300
@ -60,7 +60,7 @@ public abstract class HabboItem implements Runnable, IEventTriggers {
|
||||
this.y = set.getShort("y");
|
||||
this.z = set.getDouble("z");
|
||||
this.rotation = set.getInt("rot");
|
||||
this.extradata = set.getString("extra_data");
|
||||
this.extradata = set.getString("extra_data").isEmpty() ? "0" : set.getString("extra_data");
|
||||
|
||||
String ltdData = set.getString("limited_data");
|
||||
if (!ltdData.isEmpty()) {
|
||||
@ -79,7 +79,7 @@ public abstract class HabboItem implements Runnable, IEventTriggers {
|
||||
this.y = 0;
|
||||
this.z = 0;
|
||||
this.rotation = 0;
|
||||
this.extradata = extradata;
|
||||
this.extradata = extradata.isEmpty() ? "0" : extradata;
|
||||
this.limitedSells = limitedSells;
|
||||
this.limitedStack = limitedStack;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user