BoxOfDevs / CommandShop

Players have to pay items or money to use specific commands! A PocketMine plugin.
Other
31 stars 10 forks source link

Using a command sign while no price is set #18

Closed xDanub closed 4 years ago

xDanub commented 4 years ago

Brief description

when you use a command sign for a command with no price set it sends an internal server error ### Steps to reproduce
  1. Create a command (without setting up price)
  2. Create a command sign
  3. Try to use it

Expected result

Actual result

Server Information

CrashDumps/Errors


thread/CRITICAL ErrorException: "Undefined index: price" (EXCEPTION) in "plugins/CommandShop_dev-113.phar/src/BoxOfDevs/CommandShop/CommandShop" at line 172