Prevent tool ready messages on shulker boxes

This commit is contained in:
nossr50 2019-06-07 05:13:37 -07:00
parent 7679afd3e0
commit 00bee60151
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.1.70
Added new DatabaseAPI to the API package, has features relating to database operations
Fixed a bug where shulker boxes (without colors) would activate tool ready messages
Version 2.1.69
Fixed a few places where mcMMO would not save player data immediately which may cause players to lose a few minutes of progress

View File

@ -282,6 +282,7 @@ public class MaterialMapStore {
abilityBlackList.add("light_gray_shulker_box");
abilityBlackList.add("white_shulker_box");
abilityBlackList.add("yellow_shulker_box");
abilityBlackList.add("shulker_box");
abilityBlackList.add("wall_sign"); //1.13 and lower?
abilityBlackList.add("sign"); //1.13 and lower?
}
@ -372,6 +373,7 @@ public class MaterialMapStore {
toolBlackList.add("light_gray_shulker_box");
toolBlackList.add("white_shulker_box");
toolBlackList.add("yellow_shulker_box");
toolBlackList.add("shulker_box");
toolBlackList.add("acacia_sign");
toolBlackList.add("acacia_wall_sign");
toolBlackList.add("birch_sign");