Don't use sign Material as that's going to change in 1.14

This commit is contained in:
Phoenix616 2019-05-01 17:01:43 +01:00
parent c538f4a3dc
commit 0b57382cd0

View File

@ -33,7 +33,7 @@ public class SignSticker implements Listener {
}
private static void stickSign(Block signBlock, String[] lines) {
if (signBlock.getType() != Material.SIGN) {
if (!(signBlock.getBlockData() instanceof Sign)) {
return;
}