mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-25 12:25:22 +01:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
e402047e63
@ -57,7 +57,7 @@ public class GridItemSelectionScreen extends VFPScreen {
|
||||
final List<Item> allowedItems = new ArrayList<>();
|
||||
// Calculate all visible items
|
||||
for (Item item : Registries.ITEM) {
|
||||
if (item == Items.AIR || item.getRequiredFeatures().contains(FeatureFlags.UPDATE_1_21)) continue;
|
||||
if (item == Items.AIR || !item.getRequiredFeatures().contains(FeatureFlags.VANILLA)) continue;
|
||||
if (ItemRegistryDiff.keepItem(item)) {
|
||||
allowedItems.add(item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user