Fixed farmland displaying in inventory rollbacks
This commit is contained in:
parent
45f9f4316e
commit
ddb804ce99
3 changed files with 8 additions and 11 deletions
|
|
@ -1411,9 +1411,9 @@ public class Rollback extends Queue {
|
|||
|
||||
int excludeCount = 0;
|
||||
for (Object excludeTarget : excludeList) {
|
||||
// don't display that excluded water/fire in inventory rollbacks
|
||||
// don't display that excluded water/fire/farmland in inventory rollbacks
|
||||
if (actionList.contains(4) && actionList.contains(11)) {
|
||||
if (excludeTarget.equals(Material.FIRE) || excludeTarget.equals(Material.WATER)) {
|
||||
if (excludeTarget.equals(Material.FIRE) || excludeTarget.equals(Material.WATER) || excludeTarget.equals(Material.FARMLAND)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue