From 205073cfa9fea36a85da918a0f8cc26042a33aed Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 7 Dec 2022 22:16:26 +0000 Subject: Fabric 1.19.3 --- .../java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spark-fabric/src/main/java/me/lucko/spark') diff --git a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java index 9eb2694..22794c2 100644 --- a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java +++ b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricExtraMetadataProvider.java @@ -60,13 +60,13 @@ public class FabricExtraMetadataProvider implements MetadataProvider { } private static String resourcePackSource(ResourcePackSource source) { - if (source == ResourcePackSource.PACK_SOURCE_NONE) { + if (source == ResourcePackSource.NONE) { return "none"; - } else if (source == ResourcePackSource.PACK_SOURCE_BUILTIN) { + } else if (source == ResourcePackSource.BUILTIN) { return "builtin"; - } else if (source == ResourcePackSource.PACK_SOURCE_WORLD) { + } else if (source == ResourcePackSource.WORLD) { return "world"; - } else if (source == ResourcePackSource.PACK_SOURCE_SERVER) { + } else if (source == ResourcePackSource.SERVER) { return "server"; } else { return "unknown"; -- cgit