package net.knarcraft.paidsigns.utility; import org.bukkit.block.Block; import org.bukkit.block.Sign; /** * A helper class for dealing with signs */ public final class SignHelper { private SignHelper() { } /** * Checks whether the given block is a sign * * @param block
The block to check
* @returnTrue if the block is a sign
*/ public static boolean isSign(Block block) { return block.getState() instanceof Sign; } }