Skip to content

Commit

Permalink
fix inventory contents in notes, dispense meta typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 14, 2020
1 parent fdb0053 commit 733fe25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -21,7 +21,7 @@ public class BlockDispensesScriptEvent extends BukkitScriptEvent implements List
// <block> dispenses item
// <block> dispenses <item>
//
// @Regex ^on [^\s]+ dispense [^\s]+$
// @Regex ^on [^\s]+ dispenses [^\s]+$
//
// @Group Block
//
Expand Down
Expand Up @@ -93,7 +93,7 @@ public ListTag getContentsWithLore(String lore, boolean simple) {

@Override
public String getPropertyString() {
if (!inventory.isGeneric() || inventory.isSaving) {
if (!inventory.isGeneric() && !inventory.isSaving) {
return null;
}
ListTag contents = getContents(false);
Expand Down

0 comments on commit 733fe25

Please sign in to comment.