From 9752caece446d3c455fbe055fe01e47a3335646f Mon Sep 17 00:00:00 2001
From: shillingp
Date: Mon, 16 Jun 2014 21:53:12 +0000
Subject: [PATCH] Fixed fail if statement
---
misc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc.py b/misc.py
index f63c97f..fcfc626 100644
--- a/misc.py
+++ b/misc.py
@@ -34,7 +34,7 @@ def onJoin(event):
loginloc = player.getLocation().getBlock().getType()
headloc = player.getEyeLocation().getBlock().getType()
- if (str(loginloc) or str(headloc) == "PORTAL"):
+ if str(loginloc) == "PORTAL" or str(headloc) == "PORTAL":
msg(player, "Looks like you spawned in a portal... Let me help you out")
player.teleport(player.getWorld().getSpawnLocation())