Fixed fire/water displaying in inventory lookups
This commit is contained in:
parent
2a8e4f9797
commit
c95bf3cc30
3 changed files with 18 additions and 2 deletions
|
|
@ -263,6 +263,8 @@ public class LookupCommand {
|
|||
}
|
||||
|
||||
if (argAction.contains(4) && argAction.contains(11)) { // a:inventory
|
||||
argExclude.add(Material.FIRE);
|
||||
argExclude.add(Material.WATER);
|
||||
argExcludeUsers.add("#hopper");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -183,6 +183,12 @@ public class RollbackRestoreCommand {
|
|||
Chat.sendMessage(player, Color.DARK_AQUA + "CoreProtect " + Color.WHITE + "- " + Phrase.build(Phrase.MISSING_ACTION_USER));
|
||||
return;
|
||||
}
|
||||
if (!argExclude.contains(Material.FIRE)) {
|
||||
argExclude.add(Material.FIRE);
|
||||
}
|
||||
if (!argExclude.contains(Material.WATER)) {
|
||||
argExclude.add(Material.WATER);
|
||||
}
|
||||
if (!argExcludeUsers.contains("#hopper")) {
|
||||
argExcludeUsers.add("#hopper");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue