Skip to content

Commit

Permalink
version 2.9
Browse files Browse the repository at this point in the history
- specify api-version: 1.14
- Use Tag
  • Loading branch information
RoboMWM committed Jun 15, 2019
1 parent b7303f5 commit f2338c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.ryanhamshire</groupId>
<artifactId>AutomaticInventory</artifactId>
<version>2.8.5</version>
<version>2.9</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
2 changes: 1 addition & 1 deletion resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: AutomaticInventory
main: me.ryanhamshire.AutomaticInventory.AutomaticInventory
authors: [Big_Scary, RoboMWM, AllTheCode]
version: ${project.version}
api-version: 1.13
api-version: '1.14'
commands:
debugai:
description: Debug command for AutomaticInventory.
Expand Down
15 changes: 2 additions & 13 deletions src/me/ryanhamshire/AutomaticInventory/FindChestsThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,21 +159,10 @@ private boolean isPassable(Material material)
case CHEST:
case TRAPPED_CHEST:
case HOPPER:
case ACACIA_SIGN:
case ACACIA_WALL_SIGN:
case BIRCH_SIGN:
case BIRCH_WALL_SIGN:
case DARK_OAK_SIGN:
case DARK_OAK_WALL_SIGN:
case JUNGLE_SIGN:
case JUNGLE_WALL_SIGN:
case OAK_SIGN:
case OAK_WALL_SIGN:
case SPRUCE_SIGN:
case SPRUCE_WALL_SIGN:
return true;
default:
return false;
return Tag.WALL_SIGNS.isTagged(material)
|| Tag.SIGNS.isTagged(material);
}
}

Expand Down

0 comments on commit f2338c7

Please sign in to comment.