Browse Source

Add respawn anchors to blacklist

nossr50 5 years ago
parent
commit
3fe0b44ce8
2 changed files with 3 additions and 0 deletions
  1. 1 0
      Changelog.txt
  2. 2 0
      src/main/java/com/gmail/nossr50/util/MaterialMapStore.java

+ 1 - 0
Changelog.txt

@@ -12,6 +12,7 @@ Version 2.1.129
     Added Warped Hyphae to Woodcutting experience tables
     Added Warped Hyphae to Woodcutting experience tables
     Added Stripped Warped Hyphae to Woodcutting experience tables
     Added Stripped Warped Hyphae to Woodcutting experience tables
     Lodestone will now be ignored for activating abilities
     Lodestone will now be ignored for activating abilities
+    Respawn Anchor will now be ignored for activating abilities
 
 
     Edit your experience.yml or delete it to generate a new one
     Edit your experience.yml or delete it to generate a new one
 
 

+ 2 - 0
src/main/java/com/gmail/nossr50/util/MaterialMapStore.java

@@ -945,6 +945,7 @@ public class MaterialMapStore {
         abilityBlackList.add("campfire");
         abilityBlackList.add("campfire");
         abilityBlackList.add("composter");
         abilityBlackList.add("composter");
         abilityBlackList.add("lodestone");
         abilityBlackList.add("lodestone");
+        abilityBlackList.add("respawn_anchor");
     }
     }
     
     
     private void fillToolBlackList()
     private void fillToolBlackList()
@@ -1082,6 +1083,7 @@ public class MaterialMapStore {
         toolBlackList.add("smoker");
         toolBlackList.add("smoker");
         toolBlackList.add("stonecutter");
         toolBlackList.add("stonecutter");
         toolBlackList.add("lodestone");
         toolBlackList.add("lodestone");
+        toolBlackList.add("respawn_anchor");
     }
     }
 
 
     public int getTier(Material material) {
     public int getTier(Material material) {