Update background on the skins gui

This commit is contained in:
Sollace 2019-03-27 13:25:42 +02:00
parent 00d45b30c3
commit 76383e1a2d

View file

@ -54,10 +54,10 @@ public class GuiSkinsMineLP extends GuiSkins {
} }
@Override @Override
protected void initPanorama() { protected ResourceLocation getBackground() {
int i = (int)Math.floor(Math.random() * panoramas.length); int i = (int)Math.floor(Math.random() * panoramas.length);
panorama.setSource(panoramas[i]); return new ResourceLocation(panoramas[i]);
} }
protected void setWet(boolean wet) { protected void setWet(boolean wet) {