Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P L2jFrozen_GameServer
- Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestPrivateStoreManageSell.java
- ===================================================================
- --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestPrivateStoreManageSell.java (revisión: 690)
- +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestPrivateStoreManageSell.java (copia de trabajo)
- @@ -23,6 +23,7 @@
- import org.apache.log4j.Logger;
- import com.l2jfrozen.Config;
- +import com.l2jfrozen.gameserver.model.L2Character;
- import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
- import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed;
- import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay;
- @@ -45,6 +46,14 @@
- if (player == null)
- return;
- + // Si el jugador esta dentro de una zona PVP
- + if (player.isInsideZone(L2Character.ZONE_PVP))
- + {
- + // No puede abrir el private store sell
- + player.sendPacket(ActionFailed.STATIC_PACKET);
- + return;
- + }
- +
- // Fix for privatestore exploit during login
- if (!player.isVisible() || player.isLocked())
- {
Add Comment
Please, Sign In to add comment