Why don't you just do it kind of like this?
package stuff
{
function fxDtsBrick::onPlayerTouch(%this,%player)
{
parent::onPlayerTouch(%this,%player);
if(%player.getClassName() !$= "Player")
return;
%client = %player.client;
%mini = getMinigameFromObject(%client);
if(!isSlayerMinigame(%mini))
return;
%team = %client.getTeam();
if(!isObject(%team))
return;
$InputTarget_["Self"] = %this;
$InputTarget_["Player"] = %player;
$InputTarget_["Client"] = %client;
$InputTarget_["MiniGame"] = %mini;
%this.processInputEvent("onPlayerTouch(Team" @ %team.getGroupID() + 1 @ ")",%client);
}
};
activatePackage(stuff);
Also, you need to fix the bug where this causes all vehicles to respawn instantly. Trust me, it's this mod, not Blockland.