From 29a45b45aea3b7d6b55c15c5acf9dde1c08ffb82 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 3 Aug 2018 23:31:52 +0000 Subject: [PATCH] Fixed items disappearing before the remaining time. Contributed by SkOdD. --- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- .../java/com/l2jmobius/gameserver/model/items/L2Item.java | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/L2Item.java index 22cef901f9..c785e2d42f 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -267,9 +267,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/L2Item.java index 22cef901f9..c785e2d42f 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -267,9 +267,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/L2Item.java index 22cef901f9..c785e2d42f 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -267,9 +267,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/L2Item.java index 3c5379c669..c9177e41cc 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private long _referencePrice; @@ -267,9 +267,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/L2Item.java index 5798ec8f97..030e1f6547 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -115,7 +115,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -311,9 +311,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/L2Item.java index 2229a95622..4091d7d6f5 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -271,9 +271,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/model/items/L2Item.java index 2229a95622..4091d7d6f5 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -131,7 +131,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -271,9 +271,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; } diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/items/L2Item.java b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/items/L2Item.java index 2614f9fd41..a97d3aacff 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/items/L2Item.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/com/l2jmobius/gameserver/model/items/L2Item.java @@ -132,7 +132,7 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable private CrystalType _crystalType; private int _equipReuseDelay; private int _duration; - private int _time; + private long _time; private int _autoDestroyTime; private int _bodyPart; private int _referencePrice; @@ -272,9 +272,9 @@ public abstract class L2Item extends ListenersContainer implements IIdentifiable /** * Returns the time of the item - * @return int + * @return long */ - public final int getTime() + public final long getTime() { return _time; }