HAMILTON, N.Y. -- A person believed to have been armed with gun at Colgate University's campus center Monday night was actually a student using a glue gun for an art project, the university announced early Tuesday.

University officials notified the public of a potentially dangerous situation after it received reports of someone who had "entered the O'Connor Campus Center while carrying what witnesses believed was a weapon," media relations manager Daniel DeVries said in a statement.

Colgate University officials began sending alerts shortly after 8 p.m. They asked everyone to leave the campus center, known as the Coop, "because of a dangerous situation."

"There is an armed person at the Coop," the university Tweeted. "Find a safe space and remain indoors. If you are off-campus, stay away."

The university remained on lockdown while police investigated.

Shortly before 1 a.m. Tuesday, Colgate University released a statement saying the "emergency situation involving reports of an individual allegedly carrying a gun has been resolved after a campus-wide search."

Although witnesses thought the person was armed with a weapon, university officials say that wasn't the case.

"After thorough investigation, and with the assistance of the person in question, law enforcement identified the individual as a student who was using a glue gun for an art project, confirmed the misunderstanding, and released the campus from lockdown," DeVries said in the statement.