diff --git a/L2J_Mobius_10.3_MasterClass/dist/db_installer/sql/game/huntpass.sql b/L2J_Mobius_10.3_MasterClass/dist/db_installer/sql/game/huntpass.sql index 737b879bf2..7108d1448a 100644 --- a/L2J_Mobius_10.3_MasterClass/dist/db_installer/sql/game/huntpass.sql +++ b/L2J_Mobius_10.3_MasterClass/dist/db_installer/sql/game/huntpass.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `huntpass` ( `current_step` INT NOT NULL DEFAULT 0, `points` INT NOT NULL DEFAULT 0, `reward_step` INT NOT NULL DEFAULT 0, - `is_paytowin` BOOLEAN NOT NULL DEFAULT FALSE, + `is_premium` BOOLEAN NOT NULL DEFAULT FALSE, `premium_reward_step` INT NOT NULL DEFAULT 0, `sayha_points_available` INT NOT NULL DEFAULT 0, `sayha_points_used` INT NOT NULL DEFAULT 0, diff --git a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/HuntPass.java b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/HuntPass.java index 1991368326..8b906714a0 100644 --- a/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/HuntPass.java +++ b/L2J_Mobius_10.3_MasterClass/java/org/l2jmobius/gameserver/model/HuntPass.java @@ -41,7 +41,7 @@ public class HuntPass { private static final Logger LOGGER = Logger.getLogger(HuntPass.class.getName()); - private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_paytowin`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; + private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_premium`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; private static final String RESTORE_SEASONPASS = "SELECT * FROM huntpass WHERE account_name=?"; private final Player _user; @@ -87,7 +87,7 @@ public class HuntPass setPoints(rset.getInt("points")); setCurrentStep(rset.getInt("current_step")); setRewardStep(rset.getInt("reward_step")); - setPremium(rset.getBoolean("is_paytowin")); + setPremium(rset.getBoolean("is_premium")); setPremiumRewardStep(rset.getInt("premium_reward_step")); setAvailableSayhaTime(rset.getInt("sayha_points_available")); setUsedSayhaTime(rset.getInt("sayha_points_used")); diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/db_installer/sql/game/huntpass.sql b/L2J_Mobius_Essence_6.2_Vanguard/dist/db_installer/sql/game/huntpass.sql index 737b879bf2..7108d1448a 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/dist/db_installer/sql/game/huntpass.sql +++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/db_installer/sql/game/huntpass.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `huntpass` ( `current_step` INT NOT NULL DEFAULT 0, `points` INT NOT NULL DEFAULT 0, `reward_step` INT NOT NULL DEFAULT 0, - `is_paytowin` BOOLEAN NOT NULL DEFAULT FALSE, + `is_premium` BOOLEAN NOT NULL DEFAULT FALSE, `premium_reward_step` INT NOT NULL DEFAULT 0, `sayha_points_available` INT NOT NULL DEFAULT 0, `sayha_points_used` INT NOT NULL DEFAULT 0, diff --git a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/HuntPass.java b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/HuntPass.java index 0780d9bc57..6b8221ac4d 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/HuntPass.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/java/org/l2jmobius/gameserver/model/HuntPass.java @@ -41,7 +41,7 @@ public class HuntPass { private static final Logger LOGGER = Logger.getLogger(HuntPass.class.getName()); - private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_paytowin`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; + private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_premium`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; private static final String RESTORE_SEASONPASS = "SELECT * FROM huntpass WHERE account_name=?"; private final Player _user; @@ -87,7 +87,7 @@ public class HuntPass setPoints(rset.getInt("points")); setCurrentStep(rset.getInt("current_step")); setRewardStep(rset.getInt("reward_step")); - setPremium(rset.getBoolean("is_paytowin")); + setPremium(rset.getBoolean("is_premium")); setPremiumRewardStep(rset.getInt("premium_reward_step")); setAvailableSayhaTime(rset.getInt("sayha_points_available")); setUsedSayhaTime(rset.getInt("sayha_points_used")); diff --git a/L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql b/L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql index 737b879bf2..7108d1448a 100644 --- a/L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql +++ b/L2J_Mobius_Essence_6.3_Crusader/dist/db_installer/sql/game/huntpass.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `huntpass` ( `current_step` INT NOT NULL DEFAULT 0, `points` INT NOT NULL DEFAULT 0, `reward_step` INT NOT NULL DEFAULT 0, - `is_paytowin` BOOLEAN NOT NULL DEFAULT FALSE, + `is_premium` BOOLEAN NOT NULL DEFAULT FALSE, `premium_reward_step` INT NOT NULL DEFAULT 0, `sayha_points_available` INT NOT NULL DEFAULT 0, `sayha_points_used` INT NOT NULL DEFAULT 0, diff --git a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/HuntPass.java b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/HuntPass.java index 0e9612a1da..4b971cfdb8 100644 --- a/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/HuntPass.java +++ b/L2J_Mobius_Essence_6.3_Crusader/java/org/l2jmobius/gameserver/model/HuntPass.java @@ -41,7 +41,7 @@ public class HuntPass { private static final Logger LOGGER = Logger.getLogger(HuntPass.class.getName()); - private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_paytowin`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; + private static final String INSERT_SEASONPASS = "REPLACE INTO huntpass (`account_name`, `current_step`, `points`, `reward_step`, `is_premium`, `premium_reward_step`, `sayha_points_available`, `sayha_points_used`, `unclaimed_reward`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"; private static final String RESTORE_SEASONPASS = "SELECT * FROM huntpass WHERE account_name=?"; private final Player _user; @@ -87,7 +87,7 @@ public class HuntPass setPoints(rset.getInt("points")); setCurrentStep(rset.getInt("current_step")); setRewardStep(rset.getInt("reward_step")); - setPremium(rset.getBoolean("is_paytowin")); + setPremium(rset.getBoolean("is_premium")); setPremiumRewardStep(rset.getInt("premium_reward_step")); setAvailableSayhaTime(rset.getInt("sayha_points_available")); setUsedSayhaTime(rset.getInt("sayha_points_used"));