diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/client/NinePatch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/client/NinePatch.java b/src/main/java/io/github/cottonmc/cotton/gui/client/NinePatch.java index aae8cf9..34a50b1 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/client/NinePatch.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/client/NinePatch.java @@ -49,6 +49,7 @@ import java.util.*; * * @since 1.5.0 */ +@Environment(EnvType.CLIENT) public class NinePatch implements BackgroundPainter { private final Identifier texture; private final int cornerSize; @@ -258,7 +259,6 @@ public class NinePatch implements BackgroundPainter { } } - @Environment(EnvType.CLIENT) public static class MetadataLoader extends SinglePreparationResourceReloadListener<Map<Identifier, Properties>> implements IdentifiableResourceReloadListener { public static final MetadataLoader INSTANCE = new MetadataLoader(); |