Its not,I've commented that out already, still does it.
This is the only other script part that has to do with the weapon really, it just disables certain things, and is where our enablefeatures stuff is.
PHP Code:
if (player.level.name in this.levelnamez)
{
//Settings for PK/Sparring/War arenas.
temp.features = allfeatures - 2 - 4 - 0x10 - 0x20 - 0x80;
if ("functions_options" in player.joinedclasses)
{
if (player.getOptionsVariable("hidehearts")) temp.features -= 0x100;
if (player.getOptionsVariable("hidenicks")) temp.features -= 0x200;
}
enablefeatures(temp.features);
client.swordOnly = true;
triggerServer("weapon", this.name, "remSwordWep");
}
else {
//Normal settings, disabling old inventory
enablefeatures(allfeatures - 4 - 0x80);
client.swordOnly = false;
triggerServer("weapon", this.name, "addSwordWep");
}
There is an array of levels, and in those levels, this code is activated. It goes hand in hand with the SwordOnly script in the first post. The server trigger is to add or remove SwordOnly.