Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java b/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
- index 5d2c263..1c9510f 100644
- --- a/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
- +++ b/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
- @@ -5713,7 +5713,6 @@
- @@ -15662,10 +15660,16 @@
- sendMessage("The effect of Teleport Spawn Protection has been removed.");
- if (Config.PLAYER_SPAWN_PROTECTION > 0)
- + {
- setProtection(false);
- + stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_IMPRISIONING_2);
- + }
- if (Config.PLAYER_TELEPORT_PROTECTION > 0)
- + {
- setTeleportProtection(false);
- + stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_IMPRISIONING_2);
- + }
- }
- /**
- @@ -15701,6 +15705,7 @@
- if ((Config.PLAYER_TELEPORT_PROTECTION > 0) && !isInOlympiadMode())
- {
- setTeleportProtection(true);
- + startAbnormalEffect(L2Character.ABNORMAL_EFFECT_IMPRISIONING_2);
- sendMessage("The effects of Teleport Spawn Protection flow through you.");
- }
- diff --git a/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java b/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
- index 263a0ce..6016536 100644
- --- a/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
- +++ b/head-src/com/l2jfrozen/gameserver/network/clientpackets/EnterWorld.java
- @@ -181,7 +181,10 @@
- activeChar.sendPacket(new QuestList());
- if (Config.PLAYER_SPAWN_PROTECTION > 0)
- + {
- activeChar.setProtection(true);
- + activeChar.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_IMPRISIONING_2);
- + }
- activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement