From 5d551a76d2cbae682a96042369ab00c36cc73706 Mon Sep 17 00:00:00 2001 From: CrushedPixel Date: Sun, 16 Aug 2015 15:39:17 +0200 Subject: [PATCH] Apply a new ResourceLocation to each new CustomImageObject instead of sharing a ResourceLocation --- .../eu/crushedpixel/replaymod/assets/CustomImageObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java b/src/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java index 5c9e7b92..edbacd3e 100644 --- a/src/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java +++ b/src/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java @@ -80,7 +80,7 @@ public class CustomImageObject implements GuiEntryListEntry { this.setWidth(w); this.setHeight(h); - resourceLocation = new ResourceLocation(linkedAsset.toString()); + resourceLocation = new ResourceLocation(UUID.randomUUID().toString()+linkedAsset.toString()); Minecraft.getMinecraft().addScheduledTask(new Runnable() { @Override