Apply a new ResourceLocation to each new CustomImageObject instead of sharing a ResourceLocation

This commit is contained in:
CrushedPixel
2015-08-16 15:39:17 +02:00
parent 0746004421
commit 5d551a76d2

View File

@@ -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