From a8be08b4e329d623fa499756619dcdddb64306e2 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 11 Dec 2021 00:48:56 +0000 Subject: [PATCH] Proper prohibit system message for premium fishing. --- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- .../java/org/l2jmobius/gameserver/model/fishing/Fishing.java | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 14cccac24d..a90296ceff 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_C1_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 3e94350ad8..ea657e36ec 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_HE_OR_SHE_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 3e94350ad8..ea657e36ec 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_HE_OR_SHE_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return; diff --git a/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/gameserver/model/fishing/Fishing.java b/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/gameserver/model/fishing/Fishing.java index 3e94350ad8..ea657e36ec 100644 --- a/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/gameserver/model/fishing/Fishing.java +++ b/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/gameserver/model/fishing/Fishing.java @@ -155,7 +155,7 @@ public class Fishing { if (Config.PREMIUM_ONLY_FISHING && !_player.hasPremiumStatus()) { - _player.sendPacket(SystemMessageId.C1_CANNOT_DUEL_BECAUSE_HE_OR_SHE_IS_CURRENTLY_FISHING); + _player.sendPacket(SystemMessageId.YOU_CANNOT_FISH_AS_YOU_DO_NOT_MEET_THE_REQUIREMENTS); _player.sendPacket(ActionFailed.STATIC_PACKET); stopFishing(FishingEndType.ERROR); return;