Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Commit

Permalink
Bump version to 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnuh committed Dec 9, 2019
1 parent 465be5c commit 872a952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.codingforcookies</groupId>
<artifactId>ArmorEquipEvent</artifactId>
<version>1.7.2</version>
<version>1.7.3</version>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
Expand All @@ -12,14 +12,14 @@
<type>jar</type>
</dependency>
</dependencies>

<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>

<build>
<sourceDirectory>src</sourceDirectory>
<resources>
Expand Down
1 change: 1 addition & 0 deletions src/com/codingforcookies/armorequip/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public void equip(ArmorEquipEvent event){
if(event.getNewArmorPiece() != null && event.getNewArmorPiece().getType().equals(Material.DIAMOND_HELMET)){
event.getPlayer().setGameMode(event.getPlayer().getGameMode().equals(GameMode.ADVENTURE) ? GameMode.SURVIVAL : GameMode.ADVENTURE);
}
System.out.println("New Gamemode: " + event.getPlayer().getGameMode());
}
}
}
2 changes: 1 addition & 1 deletion src/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ArmorEquipEvent
main: com.codingforcookies.armorequip.Main
version: 1.7.2
version: 1.7.3
author: [CodingForCookies]

0 comments on commit 872a952

Please sign in to comment.