From 51e3f019217ea4eca3c2eb4e4db5eca9b2497bf4 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Fri, 13 Mar 2015 09:34:58 +0100
Subject: [PATCH] pff

---
 game/modules/tome/data/talents/psionic/other.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/talents/psionic/other.lua b/game/modules/tome/data/talents/psionic/other.lua
index 52b4c225a1..c891aa5178 100644
--- a/game/modules/tome/data/talents/psionic/other.lua
+++ b/game/modules/tome/data/talents/psionic/other.lua
@@ -157,7 +157,7 @@ newTalent{
 						end
 					end
 				end)
-			elseif self:getInven("PSIONIC_FOCUS")[1] and self:getInven("PSIONIC_FOCUS")[1].type == "gem" then
+			elseif self:getInven("PSIONIC_FOCUS") and self:getInven("PSIONIC_FOCUS")[1] and self:getInven("PSIONIC_FOCUS")[1].type == "gem" then
 				local list = {}
 				local gem = self:getInven("PSIONIC_FOCUS")[1]
 				self:project({type="ball", radius=6}, self.x, self.y, function(px, py)
-- 
GitLab