Updated dependencies to zLib 1.0, and version number to 4.0-pre2

This commit is contained in:
Amaury Carrade 2020-02-15 16:55:24 +01:00
parent 3a15e63076
commit a8d7a3ab2f
3 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -43,6 +43,7 @@ public class DeleteCommand extends IoMCommand
protected void run() throws CommandException
{
ImageMap map = getMapFromArgs();
Player player = playerSender();
if (!hasFlag("confirm"))
{
@ -61,7 +62,6 @@ public class DeleteCommand extends IoMCommand
}
else
{
Player player = playerSender();
MapManager.clear(player.getInventory(), map);
try

View File

@ -1,6 +1,6 @@
name: ImageOnMap
main: fr.moribus.imageonmap.ImageOnMap
version: "4.0"
version: "4.0-pre2"
api-version: "1.13"
commands: