When I attempt to interact with another player and respond to a trade request, interacting with "Trade with" silently stops my script (Player messages stop being logged). It will also not start a trade.
Player tradedPlayer = getTrade().getLastRequestingPlayer();
if (tradedPlayer != null) {
if (tradedPlayer.interact("Trade with")) {
log("Trade initiated");
} else {
log("Trade failed");
}
}
If I change the interaction to "Trade", then the interaction will fail. What am I doing wrong?