Skip to content

Commit

Permalink
Update:
Browse files Browse the repository at this point in the history
 Added 1.20.4 compatibility
 Couple of GUI lore updates
  • Loading branch information
cobrex1 committed Dec 24, 2023
1 parent f65a198 commit eb0e5cf
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 30 deletions.
13 changes: 13 additions & 0 deletions .idea/libraries/Maven__com_github_kangarko_Foundation_6_6_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_yaml_snakeyaml_1_33.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions .idea/libraries/Maven__org_yaml_snakeyaml_2_0.xml

This file was deleted.

14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

<groupId>me.cobrex</groupId>
<artifactId>TownyMenu</artifactId>
<version>1.8.1</version>
<version>1.8.2</version>

<properties>

<main.class>me.cobrex.townymenu.TownyMenuPlugin</main.class>

<foundation.version>6.5.8</foundation.version>
<foundation.version>6.6.1</foundation.version>

<java.version>1.8</java.version>

Expand Down Expand Up @@ -48,17 +48,17 @@
</pluginRepositories>

<dependencies>
<dependency>
<groupId>com.github.kangarko</groupId>
<artifactId>Foundation</artifactId>
<version>${foundation.version}</version>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.kangarko</groupId>
<artifactId>Foundation</artifactId>
<version>${foundation.version}</version>
</dependency>
<dependency>
<groupId>com.github.TownyAdvanced</groupId>
<artifactId>Towny</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/me/cobrex/townymenu/plot/PlotMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ public void onClickedInMenu(Player player, Menu menu, ClickType click) {
@Override
public ItemStack getItem() {
return ItemCreator.of(HeadDatabaseUtil.HeadDataUtil.createItem(String.valueOf(Settings.PLOT_ALLY_BUILD)))
.name(Localization.PlotMenu.PlayerPermissionsMenu.BREAK_ALLY)
.modelData(Integer.valueOf(Settings.PLOT_ALLY_BREAK_CMD))
.name(Localization.PlotMenu.PlayerPermissionsMenu.BUILD_ALLY)
.modelData(Integer.valueOf(Settings.PLOT_ALLY_BUILD_CMD))
.lore("")
.lore(Localization.PlotMenu.PlayerPermissionsMenu.BUILD_ALLY2)
.lore("" + (townBlock.getPermissions().getAllyPerm(TownyPermission.ActionType.BUILD) ? Localization.PlotMenu.PlayerPermissionsMenu.TRUE_MSG : Localization.PlotMenu.PlayerPermissionsMenu.FALSE_MSG), "", Localization.PlotMenu.PlayerPermissionsMenu.CHANGE).make();
Expand Down

0 comments on commit eb0e5cf

Please sign in to comment.