[vintage] Fix animated sprites not being tracked if fast block renderer is used #23
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package org.taumc.celeritas.impl.gui.frame;
|
||||
|
||||
import com.google.common.base.Predicates;
|
||||
import com.google.common.collect.UnmodifiableIterator;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -190,7 +189,7 @@ public class OptionPageFrame extends AbstractFrame {
|
||||
private Dim2i dim;
|
||||
private boolean renderOutline;
|
||||
private OptionPage page;
|
||||
private Predicate<Option<?>> optionFilter = Predicates.alwaysTrue();
|
||||
private Predicate<Option<?>> optionFilter = o -> true;
|
||||
|
||||
public Builder setDimension(Dim2i dim) {
|
||||
this.dim = dim;
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
package org.taumc.celeritas.impl.gui.frame.components;
|
||||
|
||||
import com.google.common.base.Predicates;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.HashSet;
|
||||
@@ -75,7 +74,7 @@ public class SearchTextFieldModel {
|
||||
}
|
||||
|
||||
public Predicate<Option<?>> getOptionPredicate() {
|
||||
return selectedOptions == allOptions ? Predicates.alwaysTrue() : selectedOptions::contains;
|
||||
return selectedOptions == allOptions ? (o -> true) : selectedOptions::contains;
|
||||
}
|
||||
|
||||
private void onChanged(String newText) {
|
||||
|
||||
File renamed without changes.
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "${mod_name} Resources",
|
||||
"pack_format": 3
|
||||
"pack_format": 2
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user