use a better method

This commit is contained in:
Brokkonaut
2023-02-07 04:41:58 +01:00
parent d347a25a02
commit 154de294a4

View File

@ -344,7 +344,7 @@ public class Consumer extends Thread {
* The four lines on the sign.
*/
public void queueSignChange(Actor actor, Location loc, BlockData type, String[] lines) {
if (!BukkitUtils.getAllSignMaterials().contains(type.getMaterial())) {
if (!BukkitUtils.isSign(type.getMaterial())) {
return;
}
queueBlock(actor, loc, type, type, null, BlockStateCodecSign.serialize(lines), null);