Source:
<code>public void create(Player player, Game game) { this.game = game; this.owner = player; <START> int breakTime = Main.getInstance().getIntConfig("specials.arrow-blocker.protection-time", 10); <END> int waitTime = Main.getInstance().getIntConfig("specials.arrow-blocker.using-wait-time", 30); if (waitTime > 0) { ArrayList<ArrowBlocker> livingBlockers = this.getLivingBlocker(); if (!livingBlockers.isEmpty()) { for (ArrowBlocker livingBlocker : livingBlockers) { int waitLeft = waitTime - livingBlocker.getLivingTime(); if (waitLeft > 0) { player.sendMessage( ChatWriter.pluginMessage(Main._l("ingame.specials.arrow-blocker.left", ImmutableMap.of("time", String.valueOf(waitLeft))))); return; } } } } ItemStack usedStack = null; if (Main.getInstance().getCurrentVersion().startsWith("v1_8")) { usedStack = player.getInventory().getItemInHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItem(player.getInventory().getHeldItemSlot(), usedStack); } else { if (player.getInventory().getItemInOffHand().getType() == this.getItemMaterial()) { usedStack = player.getInventory().getItemInOffHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItemInOffHand(usedStack); } else if (player.getInventory().getItemInMainHand().getType() == this.getItemMaterial()) { usedStack = player.getInventory().getItemInMainHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItemInMainHand(usedStack); } } player.updateInventory(); player.sendMessage(ChatWriter.pluginMessage(Main._l("ingame.specials.arrow-blocker.start", ImmutableMap.of("time", String.valueOf(breakTime))))); if (breakTime > 0 || waitTime > 0) { this.runTask(breakTime, waitTime); game.addSpecialItem(this); } }</code><technical_language>Hyphens (-) allowed in Java variable names. I guess meant protectionTime. :smile_cat:</technical_language>

Target:
public void create(Player player, Game game) { this.game = game; this.owner = player; int protectionTime = Main.getInstance().getIntConfig("specials.arrow-blocker.protection-time", 10); int waitTime = Main.getInstance().getIntConfig("specials.arrow-blocker.using-wait-time", 30); if (waitTime > 0) { ArrayList<ArrowBlocker> livingBlockers = this.getLivingBlocker(); if (!livingBlockers.isEmpty()) { for (ArrowBlocker livingBlocker : livingBlockers) { int waitLeft = waitTime - livingBlocker.getLivingTime(); if (waitLeft > 0) { player.sendMessage( ChatWriter.pluginMessage(Main._l("ingame.specials.arrow-blocker.left", ImmutableMap.of("time", String.valueOf(waitLeft))))); return; } } } } ItemStack usedStack = null; if (Main.getInstance().getCurrentVersion().startsWith("v1_8")) { usedStack = player.getInventory().getItemInHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItem(player.getInventory().getHeldItemSlot(), usedStack); } else { if (player.getInventory().getItemInOffHand().getType() == this.getItemMaterial()) { usedStack = player.getInventory().getItemInOffHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItemInOffHand(usedStack); } else if (player.getInventory().getItemInMainHand().getType() == this.getItemMaterial()) { usedStack = player.getInventory().getItemInMainHand(); usedStack.setAmount(usedStack.getAmount() - 1); player.getInventory().setItemInMainHand(usedStack); } } player.updateInventory(); player.sendMessage(ChatWriter.pluginMessage(Main._l("ingame.specials.arrow-blocker.start", ImmutableMap.of("time", String.valueOf(protectionTime))))); if (protectionTime > 0 || waitTime > 0) { isActive = true; this.runTask(protectionTime, waitTime, player); game.addSpecialItem(this); } }