GM characters should buy from anywhere.
This commit is contained in:
parent
1e37904aae
commit
41876df8c3
@ -53,6 +53,8 @@ public class RequestBuyItem extends ClientBasePacket
|
||||
final PlayerInstance player = client.getActiveChar();
|
||||
|
||||
// Prevent buying items far from merchant.
|
||||
if (!player.isGM())
|
||||
{
|
||||
if (!(player.getTarget() instanceof MerchantInstance))
|
||||
{
|
||||
return;
|
||||
@ -70,6 +72,7 @@ public class RequestBuyItem extends ClientBasePacket
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
double neededMoney = 0;
|
||||
final long currentMoney = player.getAdena();
|
||||
|
Loading…
Reference in New Issue
Block a user