Use netevent for armour

This commit is contained in:
Vortrex
2022-01-06 13:34:04 -06:00
parent 82574cecd6
commit 6a2e58cfd4

View File

@@ -223,6 +223,7 @@ function getPlayerHealth(client) {
function setPlayerArmour(client, armour) { function setPlayerArmour(client, armour) {
logToConsole(LOG_DEBUG, `Setting ${getPlayerDisplayForConsole(client)}'s armour to ${armour}`); logToConsole(LOG_DEBUG, `Setting ${getPlayerDisplayForConsole(client)}'s armour to ${armour}`);
sendPlayerSetArmour(client, armour); sendPlayerSetArmour(client, armour);
//client.player.armour = armour;
} }
// =========================================================================== // ===========================================================================