Apply a new ResourceLocation to each new CustomImageObject instead of sharing a ResourceLocation
This commit is contained in:
@@ -80,7 +80,7 @@ public class CustomImageObject implements GuiEntryListEntry {
|
|||||||
this.setWidth(w);
|
this.setWidth(w);
|
||||||
this.setHeight(h);
|
this.setHeight(h);
|
||||||
|
|
||||||
resourceLocation = new ResourceLocation(linkedAsset.toString());
|
resourceLocation = new ResourceLocation(UUID.randomUUID().toString()+linkedAsset.toString());
|
||||||
|
|
||||||
Minecraft.getMinecraft().addScheduledTask(new Runnable() {
|
Minecraft.getMinecraft().addScheduledTask(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user