Comparing version 0.4.27 to 0.4.28
@@ -226,4 +226,7 @@ "use strict"; | ||
return Promise.reject(`${target} is an NPC. You can't mluck NPCs.`); | ||
if (player.s.mluck && player.s.mluck.strong && player.owner !== this.owner) | ||
if (player.s.mluck && player.s.mluck.strong | ||
&& ((player.owner && player.owner !== this.owner) | ||
|| (player.s.mluck.f !== this.id))) { | ||
return Promise.reject(`${target} has a strong mluck from ${player.s.mluck.f}.`); | ||
} | ||
} | ||
@@ -230,0 +233,0 @@ const mlucked = new Promise((resolve, reject) => { |
{ | ||
"name": "alclient", | ||
"version": "0.4.27", | ||
"version": "0.4.28", | ||
"description": "A node client for interacting with Adventure Land - The Code MMORPG", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
566602
7910