Browse Source

Temporary fix.

I remember that some people has requested this?, but now I get others saying they want the opposite. :|
So lets see.
Mie 7 years ago
parent
commit
cc186fc3de
2 changed files with 4 additions and 4 deletions
  1. 3 3
      lib/index.js
  2. 1 1
      manifest.json

+ 3 - 3
lib/index.js

@@ -19,7 +19,7 @@ module.exports = function FpsUtils(mod) {
 
 	let MyGameId,
 		MyName,
-		MyPlayerId,
+		//MyPlayerId,
 		SwitchCd,
 		AllowedAchUps,
 		LastState,
@@ -626,7 +626,7 @@ module.exports = function FpsUtils(mod) {
 		LastState = event.name === MyName ? LastState : null;
 		MyGameId = event.gameId;
 		MyName = event.name;
-		MyPlayerId = event.playerId;
+		//MyPlayerId = event.playerId;
 		ProjDebug = false;
 		AbnDebug = false;
 		AllowedAchUps = 2;
@@ -942,7 +942,7 @@ module.exports = function FpsUtils(mod) {
 	function sSpawnDropItem(event) {
 		if (EqGid(event.source)) return;
 		if (mod.settings.HideBlacklistedDrop) {
-			for (const p in event.owners) if ((event.owners[p].playerId.toString() === MyPlayerId.toString()) || event.owners.length === 0) return;
+			//for (const p in event.owners) if ((event.owners[p].playerId.toString() === MyPlayerId.toString()) || event.owners.length === 0) return;
 			if (mod.settings.DropBlacklist.includes(event.item)) return false;
 		}
 		if (mod.settings.Mode >= 2) {

+ 1 - 1
manifest.json

@@ -3,7 +3,7 @@
         "README.md": "bc59f32c10752de9a4123dec9688be45e9e97bd5ef6cd20ecdf249635fafc333",
         "lib/data/npcData.json": "a49e0212694a473d384784475ff960fa762210c42158dce0579e6f41f1deb996",
         "lib/data/skillString.json": "9d69876fea0be8e6ac5dd43b3fc74ea023f6b8a6145384f8f780dd977045d8ef",
-        "lib/index.js": "bd4acc5d679a865a7974f65a2c15ff9d32f7f610fca5a40cdb4b0165251462e1",
+        "lib/index.js": "c2a3dac9ac80fcbb0f592c934ceecafedb511c92360abfa87b919f7576a17fbd",
         "lib/setting_migration.js": "2bdf6d385b5f26f554ea8d637c32f8dad206bee780380b9c38ea9401f3a40e53",
         "module.json": "26f8779bfc921a6ddfb5a9f7a2b00902970793fafd902c1936312b2d17a1ebb5",
         "package.json": "3e2c514e5ae6cce460ccff60cbd95c14d8a62cf6c051899bfa1095c2b2de450c"