Skip to content

Commit

Permalink
Fixed 1xframed not having a gui texture and compacting framed gui tex…
Browse files Browse the repository at this point in the history
…ture being wrong
  • Loading branch information
Buuz135 committed Aug 20, 2022
1 parent 465d939 commit de9bd44
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
apply plugin: 'net.minecraftforge.gradle'

group = 'com.buuz135'
version = '1.18.2-1.0.4'
version = '1.18.2-1.0.5'

java {
archivesBaseName = 'functionalstorage'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public boolean isLocked() {
public void initClient() {
super.initClient();
addGuiAddonFactory(() -> new DrawerInfoGuiAddon(64, 16,
new ResourceLocation(FunctionalStorage.MOD_ID, "textures/blocks/compacting_drawer_front.png"),
new ResourceLocation(FunctionalStorage.MOD_ID, this instanceof CompactingFramedDrawerTile ? "textures/blocks/framed_front_compacting.png" : "textures/blocks/compacting_drawer_front.png"),
3,
integer -> {
if (integer == 0) return Pair.of(28, 28);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit de9bd44

Please sign in to comment.