Permalink
Browse files

Fixed canBuy to check player level

  • Loading branch information...
Delvar committed Apr 5, 2012
1 parent 226d3ba commit 70c4a2216c6e4c0d673fed4359975341116a9cd9
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/com/mojang/mojam/entity/building/ShopItemSoldier.java
@@ -78,7 +78,6 @@ public void removeEntityNotice(Entity e) {
@Override
boolean canBuy(Player player) {
- // TODO Auto-generated method stub
- return false;
+ return checkPlayerLevel(player);
}
}

0 comments on commit 70c4a22

Please sign in to comment.