mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Merge branch 'patch-wired-cnd-snapshot' into 'dev'
fixed WIRED Condition: Furni States and Positions Match bug See merge request morningstar/Arcturus-Community!68
This commit is contained in:
commit
89ded239bc
@ -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