diff --git a/src/main/java/com/alttd/playershops/shop/PlayerShop.java b/src/main/java/com/alttd/playershops/shop/PlayerShop.java index 75a2f15..06a4d82 100644 --- a/src/main/java/com/alttd/playershops/shop/PlayerShop.java +++ b/src/main/java/com/alttd/playershops/shop/PlayerShop.java @@ -181,9 +181,9 @@ public class PlayerShop { return false; // cancelled by another plugin, does this need logging? setDirty(true); - update(); this.balance -= amount; this.setLastTransaction(System.currentTimeMillis()); + update(); return true; }