Update to MC 1.14

This commit is contained in:
Daniel Saukel 2019-04-27 20:14:55 +02:00
parent 13d13dcf72
commit aca7e54bfa
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<groupId>com.dre</groupId>
<artifactId>brewery</artifactId>
<version>1.7.1</version>
<version>1.7.2</version>
<name>Brewery</name>
<properties>
@ -110,7 +110,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.13.2-R0.1-SNAPSHOT</version>
<version>1.14-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>

View File

@ -101,7 +101,7 @@ public class LegacyUtil {
}
public static boolean isSign(Material type) {
return type == Material.SIGN || type == Material.WALL_SIGN || (!P.use1_13 && type == SIGN_POST);
return type.name().endsWith("SIGN") || (!P.use1_13 && type == SIGN_POST);
}
// LAVA and STATIONARY_LAVA are merged as of 1.13