Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
Former-commit-id: 7972bc2
  • Loading branch information
Ghost-chu committed Apr 30, 2020
1 parent 026d1da commit ce667f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ private ContainerShop(@NotNull ContainerShop s) {
* @param moderator The modertators
* @param type The shop type
* @param unlimited The unlimited
* @param plugin The plugin instance
*/
public ContainerShop(
@NotNull QuickShop plugin,
Expand Down Expand Up @@ -413,7 +414,7 @@ public void onLoad() {
// check price restriction


if(plugin.getShopManager().getPriceLimiter().check(item,price) != PriceLimiter.Status.PASS){
if (plugin.getShopManager().getPriceLimiter().check(item, price) != PriceLimiter.Status.PASS) {
Entry<Double, Double> priceRestriction = Util.getPriceRestriction(this.getMaterial()); //TODO Adapt priceLimiter, also improve priceLimiter return a container
if (priceRestriction != null) {
if (price < priceRestriction.getKey()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class InventoryPreview implements Listener {
*
* @param itemStack The item you want create.
* @param player Target player.
* @param plugin The plugin instance.
*/
public InventoryPreview(@NotNull QuickShop plugin, @NotNull ItemStack itemStack, @NotNull Player player) {
this.plugin = plugin;
Expand Down

0 comments on commit ce667f1

Please sign in to comment.