Skip to content

Commit 28bf8f1

Browse files
committed
fix WOLF_VARIANT registry
1 parent 69b4c97 commit 28bf8f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/spongepowered/api/data/type/WolfVariants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ private WolfVariants() {
6262
}
6363

6464
public static Registry<WolfVariant> registry(final ServerWorld world) {
65-
return world.registry(RegistryTypes.WOLF_VAIRANT);
65+
return world.registry(RegistryTypes.WOLF_VARIANT);
6666
}
6767

6868
private static RegistryReference<WolfVariant> key(final ResourceKey location) {
69-
return RegistryKey.of(RegistryTypes.WOLF_VAIRANT, location).asReference();
69+
return RegistryKey.of(RegistryTypes.WOLF_VARIANT, location).asReference();
7070
}
7171
}

src/main/java/org/spongepowered/api/registry/RegistryTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public final class RegistryTypes {
525525

526526
public static final DefaultedRegistryType<WeatherType> WEATHER_TYPE = RegistryTypes.spongeKeyInGame("weather_type");
527527

528-
public static final DefaultedRegistryType<WolfVariant> WOLF_VAIRANT = RegistryTypes.minecraftKeyInServer("wolf_vairant");
528+
public static final DefaultedRegistryType<WolfVariant> WOLF_VARIANT = RegistryTypes.minecraftKeyInServer("wolf_variant");
529529

530530
public static final DefaultedRegistryType<WorldArchetypeType> WORLD_ARCHETYPE_TYPE = RegistryTypes.minecraftKeyInServer("dimension");
531531

0 commit comments

Comments
 (0)