Fix NPE in Gambleshops and add missing messages for gamble shops.
This commit is contained in:
1 parent
7cfd147f1e
commit
7f3f01eda3
3 files changed
+7
-7
No files matched your search
@@ -308,7 +308,7 @@ public class PlayerShop {
|
||||
private TransactionError executeGambleTransaction(Player player) {
|
||||
ItemStack itemStack = getRandomItem();
|
||||
if (itemStack == null)
|
||||
return null;
|
||||
return TransactionError.INSUFFICIENT_FUNDS_SHOP;
|
||||
|
||||
itemStack = itemStack.clone();
|
||||
double price = getPrice();
|
||||
|
||||
Reference in new issue
Block a user