Fixed the bug with wood armor which caused the server to crash.