close inv on cancel
This commit is contained in:
parent
14e6d0b5e8
commit
496c0c06bd
2 changed files with 3 additions and 2 deletions
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>de.lunarakai</groupId>
|
<groupId>de.lunarakai</groupId>
|
||||||
<artifactId>Minecleaner</artifactId>
|
<artifactId>Minecleaner</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>Minecleaner</name>
|
<name>Minecleaner</name>
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,9 @@ public class MinecleanerListener implements Listener {
|
||||||
boolean hasConfirmed = slot == 1 ? true : false;
|
boolean hasConfirmed = slot == 1 ? true : false;
|
||||||
if(hasConfirmed) {
|
if(hasConfirmed) {
|
||||||
plugin.getManager().startGame(player);
|
plugin.getManager().startGame(player);
|
||||||
player.closeInventory();
|
//player.closeInventory();
|
||||||
}
|
}
|
||||||
|
player.closeInventory();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue