Skip to content

Commit

Permalink
Fix missing textures for form and chest UI
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeybaharev authored and sergeybaharev committed Jul 23, 2020
1 parent 5b68c99 commit 4271954
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public final class FlagsPage implements Page {
this.flagToBlock[RegionFlags.FLAG_FRAME_ITEM_DROP] = ItemID.ITEM_FRAME;
this.flagToBlock[RegionFlags.FLAG_BUCKET_EMPTY] = ItemID.BUCKET;
this.flagToBlock[RegionFlags.FLAG_BUCKET_FILL] = ItemID.BUCKET;
this.flagToBlock[RegionFlags.FLAG_TELEPORT] = ItemID.ENDER_PEARL;
this.flagToBlock[RegionFlags.FLAG_BLOCK_FALL] = BlockID.SAND;
this.flagToBlock[RegionFlags.FLAG_MINECART_DESTROY] = ItemID.MINECART;
this.flagToBlock[RegionFlags.FLAG_HOPPER] = ItemID.HOPPER;

}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ final class FlagsForm extends FormWindowSimple implements UIForm {
ICONS[RegionFlags.FLAG_BUCKET_EMPTY] = "textures/items/bucket_empty.png";
ICONS[RegionFlags.FLAG_BUCKET_FILL] = "textures/items/bucket_water.png";
ICONS[RegionFlags.FLAG_INVINCIBLE] = "textures/ui/fire_resistance_effect.png";
ICONS[RegionFlags.FLAG_HOPPER] = "textures/items/hopper.png";
ICONS[RegionFlags.FLAG_MINECART_DESTROY] = "textures/items/minecart_normal.png";
ICONS[RegionFlags.FLAG_TELEPORT] = "textures/items/ender_pearl.png";
ICONS[RegionFlags.FLAG_INTERACT] = "textures/ui/permissions_visitor_hand_hover.png";
}

private final transient Region region;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ final class MainForm extends FormWindowSimple implements UIForm {

private static final transient ElementButtonImageData priorityImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/move.png");
private static final transient ElementButtonImageData membersImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/permissions_member_star.png");
private static final transient ElementButtonImageData removeImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/gui/newgui/storage/trash.png");
private static final transient ElementButtonImageData removeImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/trash.png");
private static final transient ElementButtonImageData ownersImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/permissions_op_crown.png");
private static final transient ElementButtonImageData flagsImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/gui/newgui/settings/toggle_on_hover.png");
private static final transient ElementButtonImageData sellImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/gui/newgui/MCoin.png");
private static final transient ElementButtonImageData flagsImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/common-classic_toggle_checked_state.png");
private static final transient ElementButtonImageData sellImage = new ElementButtonImageData(ElementButtonImageData.IMAGE_DATA_TYPE_PATH, "textures/ui/MCoin.png");

private final transient Region region;

Expand Down

0 comments on commit 4271954

Please sign in to comment.