From 6f259cb047dc55903a0282cf5847a4c98d78f2aa Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sun, 11 Jun 2017 09:27:26 +0100
Subject: [PATCH] mobs will not attack player in creative mode unless hit 1st

---
 api.lua | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/api.lua b/api.lua
index 489ff8d..4f384c5 100644
--- a/api.lua
+++ b/api.lua
@@ -1,9 +1,9 @@
 
--- Mobs Api (10th June 2017)
+-- Mobs Api (11th June 2017)
 
 mobs = {}
 mobs.mod = "redo"
-mobs.version = "20170610"
+mobs.version = "20170611"
 
 
 -- Intllib
@@ -1135,6 +1135,7 @@ local monster_attack = function(self)
 
 	if self.type ~= "monster"
 	or not damage_enabled
+	or creative
 	or self.state == "attack"
 	or day_docile(self) then
 		return