mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-02 00: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 DynamicTexture local;
|
||||
private PreviewTexture remote;
|
||||
private volatile DynamicTexture local;
|
||||
private volatile PreviewTexture remote;
|
||||
|
||||
private ResourceLocation remoteResource;
|
||||
private ResourceLocation localResource;
|
||||
|
|
Loading…
Reference in a new issue