|
@@ -19,7 +19,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
|
|
|
|
|
let MyGameId,
|
|
let MyGameId,
|
|
|
MyName,
|
|
MyName,
|
|
|
- MyPlayerId,
|
|
|
|
|
|
|
+ //MyPlayerId,
|
|
|
SwitchCd,
|
|
SwitchCd,
|
|
|
AllowedAchUps,
|
|
AllowedAchUps,
|
|
|
LastState,
|
|
LastState,
|
|
@@ -626,7 +626,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
LastState = event.name === MyName ? LastState : null;
|
|
LastState = event.name === MyName ? LastState : null;
|
|
|
MyGameId = event.gameId;
|
|
MyGameId = event.gameId;
|
|
|
MyName = event.name;
|
|
MyName = event.name;
|
|
|
- MyPlayerId = event.playerId;
|
|
|
|
|
|
|
+ //MyPlayerId = event.playerId;
|
|
|
ProjDebug = false;
|
|
ProjDebug = false;
|
|
|
AbnDebug = false;
|
|
AbnDebug = false;
|
|
|
AllowedAchUps = 2;
|
|
AllowedAchUps = 2;
|
|
@@ -942,7 +942,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
function sSpawnDropItem(event) {
|
|
function sSpawnDropItem(event) {
|
|
|
if (EqGid(event.source)) return;
|
|
if (EqGid(event.source)) return;
|
|
|
if (mod.settings.HideBlacklistedDrop) {
|
|
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.DropBlacklist.includes(event.item)) return false;
|
|
|
}
|
|
}
|
|
|
if (mod.settings.Mode >= 2) {
|
|
if (mod.settings.Mode >= 2) {
|