Major update on client packets, now properly making unseen killed monsters not appear as residual on a player's client. Many updates revolving the PiratePQ environment as well.
9 lines
220 B
JavaScript
9 lines
220 B
JavaScript
function enter(pi) {
|
|
if (pi.getMap().getMonsters().size() == 0) {
|
|
pi.warp(925100300,0); //next
|
|
return(true);
|
|
} else {
|
|
pi.playerMessage(5, "The portal is not opened yet.");
|
|
return(false);
|
|
}
|
|
} |