MasterCake 3 rokov pred
rodič
commit
16381fe6cc

+ 0 - 3
Plugin/src/main/java/de/Linus122/TimeIsMoney/ATM.java

@@ -103,9 +103,6 @@ public class ATM implements Listener, CommandExecutor {
 		
 		// balance item
 		SpaceItem balanceItem = gui.getOrCreateItem(new SpaceItem().setStack(Material.GOLD_NUGGET, 1, CC("&cBalance &a%s")).setLabel("balance"), 4 + 9)
-			.addAction((p, action) -> {
-				ATM.withdrawBank(p, 10);
-			})
 			.setFormat((p) -> 
 				Main.economy.format(ATM.getBankBalance(p))
 			);