🏡 index : ~doyle/blockbuster.git

Diff

 src/main/java/wf/doyle/blockbuster/item/LibraryItem.java | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/java/wf/doyle/blockbuster/item/LibraryItem.java b/src/main/java/wf/doyle/blockbuster/item/LibraryItem.java
index 35613d2..6e93b13 100644
--- a/src/main/java/wf/doyle/blockbuster/item/LibraryItem.java
+++ a/src/main/java/wf/doyle/blockbuster/item/LibraryItem.java
@@ -149,13 +149,13 @@
	 * @return true if we now have the item
	 */
	public boolean toggleItem()
    {
	    if(this.getLoan()) {
	    	this.returnItem();
	    	return false;
	    } else {
	    	this.takeItem();
	    	return true;
	    }
    }
	{
		if(this.getLoan()) {
			this.returnItem();
			return false;
		} else {
			this.takeItem();
			return true;
		}
	}
}