:)
This commit is contained in:
parent
3cd55fa3fa
commit
9ad56fe06c
3 changed files with 5 additions and 2 deletions
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>de.lunarakai</groupId>
|
||||
<artifactId>Minecleaner</artifactId>
|
||||
<version>1.1.2</version>
|
||||
<version>1.1.2b</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Minecleaner</name>
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ public class MinecleanerArena {
|
|||
});
|
||||
}
|
||||
|
||||
private void updateIngameInfoTexts() {
|
||||
public void updateIngameInfoTexts() {
|
||||
String timer = "";
|
||||
if(plugin.getManager().getSettingsValue("timer", currentPlayer) != 0) {
|
||||
timer = ChatColor.GOLD + " Zeit: " + MinecleanerStringUtil.timeToString((ingameTime/20)*1000, true) + " ";
|
||||
|
|
|
|||
|
|
@ -145,6 +145,9 @@ public class MinecleanerListener implements Listener {
|
|||
player.openInventory(plugin.getManager().showSettingsInventory(player));
|
||||
} else {
|
||||
plugin.getManager().updateSettingsValue("timer", 0, player);
|
||||
if(arena != null) {
|
||||
arena.updateIngameInfoTexts();
|
||||
}
|
||||
player.closeInventory();
|
||||
player.openInventory(plugin.getManager().showSettingsInventory(player));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue