mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2026-06-05 02:46:54 +00:00
ivan u never commit
This commit is contained in:
@@ -100,7 +100,7 @@ public class Command_shop extends FreedomCommand
|
||||
case "buy":
|
||||
{
|
||||
ShopItem item = ShopItem.findItem(args[1]);
|
||||
if (item == null)
|
||||
if (item == null || !item.isPurchaseable())
|
||||
{
|
||||
msg("Invalid item: " + item);
|
||||
return true;
|
||||
@@ -133,7 +133,7 @@ public class Command_shop extends FreedomCommand
|
||||
case "get":
|
||||
{
|
||||
ShopItem item = ShopItem.findItem(args[1]);
|
||||
if (item == null)
|
||||
if (item == null || !item.isPurchaseable())
|
||||
{
|
||||
msg("Invalid item: " + item);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user