Skip to content

Commit

Permalink
Updated dependencies to zLib 1.0, and version number to 4.0-pre2
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryCarrade committed Feb 15, 2020
1 parent 3a15e63 commit a8d7a3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.13.2-R0.1-SNAPSHOT</version>
<version>1.15-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>fr.zcraft</groupId>
<artifactId>zlib</artifactId>
<version>0.99-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class DeleteCommand extends IoMCommand
protected void run() throws CommandException
{
ImageMap map = getMapFromArgs();
Player player = playerSender();

if (!hasFlag("confirm"))
{
Expand All @@ -61,7 +62,6 @@ protected void run() throws CommandException
}
else
{
Player player = playerSender();
MapManager.clear(player.getInventory(), map);

try
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ImageOnMap
main: fr.moribus.imageonmap.ImageOnMap
version: "4.0"
version: "4.0-pre2"
api-version: "1.13"

commands:
Expand Down

0 comments on commit a8d7a3a

Please sign in to comment.