Merge remote-tracking branch 'origin/main'

This commit is contained in:
FlorianMichael 2024-01-30 22:16:28 +01:00
commit e402047e63
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -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);
}