Skip to content

Commit

Permalink
Merge pull request #121 from Efnilite/dev
Browse files Browse the repository at this point in the history
Merge 5.2.2
  • Loading branch information
Efnilite authored Apr 27, 2024
2 parents 8e4db61 + 9d08c31 commit accf68e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**New Plugin [Infinite Elytra Parkour](https://www.spigotmc.org/resources/115322/) | [IP+](https://www.spigotmc.org/resources/105019/)**
**[IEP](https://www.spigotmc.org/resources/115322/) | [IP+](https://www.spigotmc.org/resources/105019/)**

- Added item for IEP support
- Added option to disable players opening blocks with inventories
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

<groupId>dev.efnilite</groupId>
<artifactId>IP</artifactId>
<version>5.2.1</version>
<version>5.2.2</version>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -90,14 +90,14 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.4-R0.1-SNAPSHOT</version>
<version>1.20.5-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.github.Efnilite</groupId>
<artifactId>vilib</artifactId>
<version>66840fa513</version>
<version>d262093968</version>
<scope>compile</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public void open(Player player, Mode mode, Sort sort) {

if (uuid.equals(player.getUniqueId())) {
menu.item(21, item.clone());
item.glowing();
}

items.add(item);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/efnilite/ip/menu/settings/LangMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void open(ParkourPlayer user) {
for (String lang : Locales.locales.keySet()) {
Item item = new Item(Material.PAPER, "<#238681><bold>" + Locales.getString(lang, "name"));

items.add(item.glowing(user.locale.equals(lang)).click(event -> {
items.add(item.click(event -> {
user.locale = lang;
user._locale = lang;
Menus.SETTINGS.open(event.getPlayer());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ public void openStyleMenu(ParkourPlayer player) {

items.add(Locales.getItem(player.player, ParkourOption.STYLES.path + ".style_item", name, category)
.material(style.getNext())
.glowing(player.style.equals(name))
.click(event -> {
player.style = name;
player.updateGeneratorSettings(player.session.generator);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/efnilite/ip/world/Divider.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void remove(Session session) {
* @param session The session.
* @return The location at the center of section n.
*/
private static Location toLocation(Session session) {
public static Location toLocation(Session session) {
int[] xz = spiralAt(sections.get(session));

return new Location(WorldManager.getWorld(),
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'IP'
description: 'Infinitely automatically generating parkour plugin.'
author: Efnilite
version: 5.2.1
version: 5.2.2
api-version: 1.16
main: dev.efnilite.ip.IP
softdepend: [floodgate, Vault, PlaceholderAPI, Multiverse-Core, VoidGen]
Expand Down

0 comments on commit accf68e

Please sign in to comment.