mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Silly
This commit is contained in:
parent
b85e4d2835
commit
afb0c67090
@ -88,8 +88,8 @@ public class AvailableAbilities {
|
|||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void addInformation(List list) {
|
public void addInformation(List list) {
|
||||||
List<Map.Entry<IBaseAbility, Integer>> toolAbilities = abilities.entrySet().stream().filter(entry ->
|
List<Map.Entry<IBaseAbility, Integer>> toolAbilities = abilities.entrySet().stream().filter(entry ->
|
||||||
(entry.getKey() instanceof IToolAreaAbility && entry != IToolAreaAbility.NONE) ||
|
(entry.getKey() instanceof IToolAreaAbility && entry.getKey() != IToolAreaAbility.NONE) ||
|
||||||
(entry.getKey() instanceof IToolHarvestAbility && entry != IToolHarvestAbility.NONE)
|
(entry.getKey() instanceof IToolHarvestAbility && entry.getKey() != IToolHarvestAbility.NONE)
|
||||||
).sorted(
|
).sorted(
|
||||||
Comparator
|
Comparator
|
||||||
.comparing(Map.Entry<IBaseAbility, Integer>::getKey)
|
.comparing(Map.Entry<IBaseAbility, Integer>::getKey)
|
||||||
@ -112,7 +112,7 @@ public class AvailableAbilities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<Map.Entry<IBaseAbility, Integer>> weaponAbilities = abilities.entrySet().stream().filter(entry ->
|
List<Map.Entry<IBaseAbility, Integer>> weaponAbilities = abilities.entrySet().stream().filter(entry ->
|
||||||
(entry.getKey() instanceof IWeaponAbility && entry != IWeaponAbility.NONE)
|
(entry.getKey() instanceof IWeaponAbility && entry.getKey() != IWeaponAbility.NONE)
|
||||||
).sorted(
|
).sorted(
|
||||||
Comparator
|
Comparator
|
||||||
.comparing(Map.Entry<IBaseAbility, Integer>::getKey)
|
.comparing(Map.Entry<IBaseAbility, Integer>::getKey)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user