mirror of
https://github.com/architectury/architectury-api.git
synced 2026-04-01 21:17:45 -05:00
Update to 23w18a
This commit is contained in:
@@ -130,7 +130,7 @@ public class CreativeTabRegistryImpl {
|
||||
}
|
||||
|
||||
@ApiStatus.Experimental
|
||||
public static TabSupplier of(CreativeModeTab tab) {
|
||||
public static TabSupplier ofBuiltin(CreativeModeTab tab) {
|
||||
ResourceLocation location = CreativeModeTabRegistry.getName(tab);
|
||||
if (location == null) {
|
||||
throw new IllegalArgumentException("Tab %s is not registered!".formatted(tab));
|
||||
|
||||
Reference in New Issue
Block a user