mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 20:06:23 +01:00 
			
		
		
		
	little lua fix on killing in the name of creaturescripts
This commit is contained in:
		| @@ -115,6 +115,10 @@ function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjus | ||||
| 		return true | ||||
| 	end | ||||
| 	 | ||||
| 	if mostdamagekiller == nil then | ||||
| 		return true | ||||
| 	end | ||||
| 	 | ||||
| 	local player = mostdamagekiller | ||||
| 	if not mostdamagekiller:isPlayer() then | ||||
| 		local master = mostdamagekiller:getMaster() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ErikasKontenis
					ErikasKontenis