:)
This commit is contained in:
		
					parent
					
						
							
								3cd55fa3fa
							
						
					
				
			
			
				commit
				
					
						9ad56fe06c
					
				
			
		
					 3 changed files with 5 additions and 2 deletions
				
			
		|  | @ -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