diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-25 18:52:29 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-01-25 18:52:29 +0200 |
commit | 3cdfe0d7db4f84825101f7413e8204bdb56b5e95 (patch) | |
tree | fa93a2f3a4c3f82a03069a2bb1ca3c9fe65b6df0 /src/main/java | |
parent | 9dc144d7fa87650c2ebfbf405e8358a0f4f5a685 (diff) | |
download | LibGui-3cdfe0d7db4f84825101f7413e8204bdb56b5e95.tar.gz LibGui-3cdfe0d7db4f84825101f7413e8204bdb56b5e95.tar.bz2 LibGui-3cdfe0d7db4f84825101f7413e8204bdb56b5e95.zip |
Add Environment(CLIENT) to NinePatch
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(); |