use a better method
This commit is contained in:
1 parent
d347a25a02
commit
154de294a4
1 file changed
+1
-1
@@ -344,7 +344,7 @@ public class Consumer extends Thread {
|
|||||||
* The four lines on the sign.
|
* The four lines on the sign.
|
||||||
*/
|
*/
|
||||||
public void queueSignChange(Actor actor, Location loc, BlockData type, String[] lines) {
|
public void queueSignChange(Actor actor, Location loc, BlockData type, String[] lines) {
|
||||||
if (!BukkitUtils.getAllSignMaterials().contains(type.getMaterial())) {
|
if (!BukkitUtils.isSign(type.getMaterial())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
queueBlock(actor, loc, type, type, null, BlockStateCodecSign.serialize(lines), null);
|
queueBlock(actor, loc, type, type, null, BlockStateCodecSign.serialize(lines), null);
|
||||||
|
|||||||
Reference in new issue
Block a user