mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Use volatile for changeable resourcces
This commit is contained in:
parent
fd9d9a64ed
commit
31d7fdad0b
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ public class LocalTexture {
|
||||||
|
|
||||||
private final TextureManager textureManager = Minecraft.getMinecraft().getTextureManager();
|
private final TextureManager textureManager = Minecraft.getMinecraft().getTextureManager();
|
||||||
|
|
||||||
private DynamicTexture local;
|
private volatile DynamicTexture local;
|
||||||
private PreviewTexture remote;
|
private volatile PreviewTexture remote;
|
||||||
|
|
||||||
private ResourceLocation remoteResource;
|
private ResourceLocation remoteResource;
|
||||||
private ResourceLocation localResource;
|
private ResourceLocation localResource;
|
||||||
|
|
Loading…
Reference in a new issue