pipe.activatePipeSign(dir, player);
return true;
} else if(mode >= 0 && mode < signTypes.size()) {
Class<? extends IPipeSign> signClass = signTypes.get(mode);
try {
IPipeSign sign = signClass.newInstance();
if(sign.isAllowedFor(pipe)) {
itemStack.damageItem(1, player);
sign.addSignTo(pipe, dir, player);
return true;
} else {
return false;
}
} catch(InstantiationException e) {