From 53c9118755f2364a6633d73d475b96d953a237d1 Mon Sep 17 00:00:00 2001
From: shillingp
Date: Mon, 23 Jun 2014 23:07:25 +0000
Subject: [PATCH] getInventory not getContents
---
misc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc.py b/misc.py
index 6f49ec4..aab30c4 100644
--- a/misc.py
+++ b/misc.py
@@ -106,7 +106,7 @@ def onHeldEvent(event):
doCycle(player, 9)
def doCycle(player, e):
- inv = player.getContents()
+ inv = player.getInventory()
for x in range (0, 9):
inv[x], inv[x+e] = inv[x+e], inv[x]