diff --git a/src/com/massivecraft/massivecore/money/Money.java b/src/com/massivecraft/massivecore/money/Money.java index ed6d9eb3..cbcf3ab1 100644 --- a/src/com/massivecraft/massivecore/money/Money.java +++ b/src/com/massivecraft/massivecore/money/Money.java @@ -27,7 +27,7 @@ public class Money // ... but if something is supplied we must manage to extract an id. // NOTE: This ID is the name for now, later all money plugins will probably support UUIDs. String ret = MUtil.extract(String.class, "accountId", account); - if (ret == null) throw new IllegalArgumentException("extraction of accountId from object failed"); + if (ret == null) throw new IllegalArgumentException("extraction of accountId from object failed: " + account.toString()); return ret; }