more blacklisted blocks

This commit is contained in:
nossr50 2019-09-05 18:58:50 -06:00
parent d6e14ca431
commit e84e9a7dc8
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Version 2.1.106
Added a few missing blocks to the ability blacklist tables (prevents readying/using abilities on certain blocks that have right click functionality)
Version 2.1.105 Version 2.1.105
mcMMO will reset players scoreboard to the main scoreboard if they move into a blacklisted world mcMMO will reset players scoreboard to the main scoreboard if they move into a blacklisted world
Beast lore now shows max jump height and other tweaks (Thanks QuantumToasted) Beast lore now shows max jump height and other tweaks (Thanks QuantumToasted)

View File

@ -307,6 +307,13 @@ public class MaterialMapStore {
abilityBlackList.add("smoker"); abilityBlackList.add("smoker");
abilityBlackList.add("stonecutter"); abilityBlackList.add("stonecutter");
abilityBlackList.add("sweet_berry_bush"); abilityBlackList.add("sweet_berry_bush");
abilityBlackList.add("iron_block");
abilityBlackList.add("gold_block");
abilityBlackList.add("bell");
abilityBlackList.add("barrel");
abilityBlackList.add("campfire");
abilityBlackList.add("composter");
} }
private void fillToolBlackList() private void fillToolBlackList()
@ -431,9 +438,12 @@ public class MaterialMapStore {
toolBlackList.add("oak_log"); toolBlackList.add("oak_log");
toolBlackList.add("oak_wood"); toolBlackList.add("oak_wood");
toolBlackList.add("spruce_log"); toolBlackList.add("spruce_log");
toolBlackList.add("spruce_wood");
toolBlackList.add("iron_block"); toolBlackList.add("iron_block");
toolBlackList.add("gold_block"); toolBlackList.add("gold_block");
toolBlackList.add("bell");
toolBlackList.add("barrel");
toolBlackList.add("campfire");
toolBlackList.add("composter");
} }
private void addToHashSet(String string, HashSet<String> stringHashSet) private void addToHashSet(String string, HashSet<String> stringHashSet)