Skip to content

Commit

Permalink
Revert half the pom improvement
Browse files Browse the repository at this point in the history
stupid vault...
  • Loading branch information
mcmonkey4eva committed Jul 22, 2015
1 parent 6c3cac7 commit ff0f66b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -79,8 +79,8 @@
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.5</version>
<artifactId>Vault</artifactId>
<version>1.5.4</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Expand Up @@ -53,9 +53,9 @@ else if (!scriptEntry.hasObject("unlimit_stack_size")
scriptEntry.addObject("unlimit_stack_size", new Element(true));

else if (!scriptEntry.hasObject("items")
&& !scriptEntry.hasObject("type")
&& arg.matchesArgumentList(dItem.class)) {
scriptEntry.addObject("items", dList.valueOf(arg.raw_value.replace("item:", "")).filter(dItem.class, scriptEntry));
&& !scriptEntry.hasObject("type")) {
scriptEntry.addObject("items", dList.valueOf(arg.raw_value.startsWith("item:") ?
arg.raw_value.substring("item:".length()): arg.raw_value).filter(dItem.class, scriptEntry));
}

else if (!scriptEntry.hasObject("inventory")
Expand Down

0 comments on commit ff0f66b

Please sign in to comment.