forked from LogBlock/LogBlock
use a better method
This commit is contained in:
@@ -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