diff --git a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Chest/Page/FlagsPage.java b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Chest/Page/FlagsPage.java index f3201ee..689b8e5 100644 --- a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Chest/Page/FlagsPage.java +++ b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Chest/Page/FlagsPage.java @@ -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 diff --git a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/FlagsForm.java b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/FlagsForm.java index 49e3c6c..78e81df 100644 --- a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/FlagsForm.java +++ b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/FlagsForm.java @@ -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; diff --git a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/MainForm.java b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/MainForm.java index 3340f4b..bc6b8d6 100644 --- a/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/MainForm.java +++ b/src/main/java/Sergey_Dertan/SRegionProtector/UI/Form/Type/MainForm.java @@ -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;