mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 11:29:35 +00:00
Refactor recipe profiler (#911)
This commit is contained in:
1 parent
d25365942a
commit
8f949bc1d1
7 files changed
+226
-92
No files matched your search
@@ -263,12 +263,6 @@ public class NEIRecipeWidget extends Widget {
|
||||
final List<Badge> badges = k.getBadges();
|
||||
|
||||
if (badges == null) {
|
||||
final String customBadge = k.getCustomBadge();
|
||||
|
||||
if (customBadge != null) {
|
||||
return customBadge.isEmpty() ? Collections.emptyList()
|
||||
: Collections.singletonList(new Badge(customBadge));
|
||||
}
|
||||
|
||||
if (input) {
|
||||
if (StackInfo.getAmount(pStack.item) == 0) {
|
||||
|
||||
Reference in new issue
Block a user