mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-06-29 08:05:14 +02:00
fix grouping of appliable item types
This commit is contained in:
parent
5da802679d
commit
01c202a435
|
@ -61,7 +61,7 @@ public class ItemGroup {
|
||||||
for (int i = 0; i < 5; i++) {
|
for (int i = 0; i < 5; i++) {
|
||||||
getGroup(materials).ifPresent(group -> {
|
getGroup(materials).ifPresent(group -> {
|
||||||
groups.add(group.getName());
|
groups.add(group.getName());
|
||||||
materials.removeAll(getMaterials(group));
|
materials.removeAll(getMaterials(group).stream().map(e -> CompatibleMaterial.getMaterial(e)).collect(Collectors.toList()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user