mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-29 13:06:00 +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<>();
|
final List<Item> allowedItems = new ArrayList<>();
|
||||||
// Calculate all visible items
|
// Calculate all visible items
|
||||||
for (Item item : Registries.ITEM) {
|
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)) {
|
if (ItemRegistryDiff.keepItem(item)) {
|
||||||
allowedItems.add(item);
|
allowedItems.add(item);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user