fixed the console warnings when sword goes through gray block