Some improvement for previous commit.
This commit is contained in:
parent
61efe4651f
commit
d280acd20b
@ -139,9 +139,7 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
activeChar.getInventory().destroyItemByItemId("CB_Teleport", Config.COMMUNITYBOARD_CURRENCY, Config.COMMUNITYBOARD_TELEPORT_PRICE, activeChar, activeChar);
|
||||
activeChar.teleToLocation(x, y, z, 0);
|
||||
}
|
||||
else if (command.startsWith("_bbspremium"))
|
||||
{
|
||||
if (Config.PREMIUM_SYSTEM_ENABLED && Config.COMMUNITY_PREMIUM_SYSTEM_ENABLED)
|
||||
else if (Config.CUSTOM_CB_ENABLED && Config.PREMIUM_SYSTEM_ENABLED && Config.COMMUNITY_PREMIUM_SYSTEM_ENABLED && command.startsWith("_bbspremium"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbspremium;", "");
|
||||
final String[] buypassOptions = fullBypass.split(",");
|
||||
@ -158,7 +156,6 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
CommunityBoardHandler.separateAndSend(HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/Custom/premium/main.html"), activeChar); // TODO: Thank you html.
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (Config.CUSTOM_CB_ENABLED && Config.COMMUNITYBOARD_ENABLE_BUFFS && command.startsWith("_bbsbuff"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbsbuff;", "");
|
||||
|
Loading…
Reference in New Issue
Block a user