Fixed servers.
This commit is contained in:
Ellpeck 2016-07-06 22:04:18 +02:00
parent 8d8519786e
commit 1e0bf7c65e

View file

@ -35,15 +35,12 @@ import org.lwjgl.opengl.GL11;
public final class AssetUtil{ public final class AssetUtil{
@SideOnly(Side.CLIENT)
public static final ResourceLocation GUI_INVENTORY_LOCATION = getGuiLocation("guiInventory"); public static final ResourceLocation GUI_INVENTORY_LOCATION = getGuiLocation("guiInventory");
@SideOnly(Side.CLIENT)
public static ResourceLocation getGuiLocation(String file){ public static ResourceLocation getGuiLocation(String file){
return new ResourceLocation(ModUtil.MOD_ID, "textures/gui/"+file+".png"); return new ResourceLocation(ModUtil.MOD_ID, "textures/gui/"+file+".png");
} }
@SideOnly(Side.CLIENT)
public static ResourceLocation getBookletGuiLocation(String file){ public static ResourceLocation getBookletGuiLocation(String file){
return new ResourceLocation(ModUtil.MOD_ID, "textures/gui/booklet/"+file+".png"); return new ResourceLocation(ModUtil.MOD_ID, "textures/gui/booklet/"+file+".png");
} }