Merge pull request #1372 from deathbeam/dismantle-reset

Swap also dismantle/reset on box traps
This commit is contained in:
Adam
2018-04-14 21:18:06 -04:00
committed by GitHub

View File

@@ -384,7 +384,7 @@ public class MenuEntrySwapperPlugin extends Plugin
{
swap("last-destination (", option, target, false);
}
else if (config.swapBoxTrap() && option.equals("check"))
else if (config.swapBoxTrap() && (option.equals("check") || option.equals("dismantle")))
{
swap("reset", option, target, true);
}