Don't cast item to Spatial when checking if it's locked
Don't cast item to Spatial when checking if it's locked

Not a necessary cast, and causes a crash any time it's not a Spatial.

Zylann/godot,Faless/godot,Zylann/godot,Zylann/godot,Valentactive/godot,Shockblast/godot,honix/godot,Paulloz/godot,BastiaanOlij/godot,honix/godot,vnen/godot,akien-mga/godot,godotengine/godot,guilhermefelipecgs/godot,sanikoyes/godot,ex/godot,ex/godot,Faless/godot,BastiaanOlij/godot,Valentactive/godot,Faless/godot,firefly2442/godot,MarianoGnu/godot,vkbsb/godot,godotengine/godot,firefly2442/godot,sanikoyes/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,Paulloz/godot,josempans/godot,BastiaanOlij/godot,josempans/godot,Paulloz/godot,Valentactive/godot,ZuBsPaCe/godot,pkowal1982/godot,Valentactive/godot,Shockblast/godot,Shockblast/godot,firefly2442/godot,Faless/godot,guilhermefelipecgs/godot,sanikoyes/godot,ZuBsPaCe/godot,sanikoyes/godot,vkbsb/godot,ZuBsPaCe/godot,vnen/godot,Zylann/godot,DmitriySalnikov/godot,akien-mga/godot,ZuBsPaCe/godot,firefly2442/godot,honix/godot,josempans/godot,Faless/godot,MarianoGnu/godot,DmitriySalnikov/godot,vnen/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,josempans/godot,akien-mga/godot,guilhermefelipecgs/godot,sanikoyes/godot,ZuBsPaCe/godot,BastiaanOlij/godot,honix/godot,vnen/godot,BastiaanOlij/godot,josempans/godot,vkbsb/godot,vkbsb/godot,vnen/godot,josempans/godot,Valentactive/godot,ZuBsPaCe/godot,godotengine/godot,honix/godot,firefly2442/godot,ex/godot,Faless/godot,BastiaanOlij/godot,BastiaanOlij/godot,pkowal1982/godot,Shockblast/godot,Paulloz/godot,ex/godot,vnen/godot,guilhermefelipecgs/godot,akien-mga/godot,akien-mga/godot,josempans/godot,firefly2442/godot,DmitriySalnikov/godot,BastiaanOlij/godot,Shockblast/godot,guilhermefelipecgs/godot,Paulloz/godot,Valentactive/godot,akien-mga/godot,Shockblast/godot,Paulloz/godot,godotengine/godot,godotengine/godot,MarianoGnu/godot,MarianoGnu/godot,godotengine/godot,vkbsb/godot,ex/godot,honix/godot,vkbsb/godot,ex/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,Faless/godot,Paulloz/godot,Valentactive/godot,akien-mga/godot,MarianoGnu/godot,DmitriySalnikov/godot,sanikoyes/godot,Shockblast/godot,pkowal1982/godot,Faless/godot,vnen/godot,Zylann/godot,vnen/godot,ex/godot,pkowal1982/godot,sanikoyes/godot,vkbsb/godot,josempans/godot,vkbsb/godot,Zylann/godot,Zylann/godot,Zylann/godot,godotengine/godot,MarianoGnu/godot,pkowal1982/godot,pkowal1982/godot,firefly2442/godot,MarianoGnu/godot,firefly2442/godot,Valentactive/godot,sanikoyes/godot,godotengine/godot,MarianoGnu/godot,pkowal1982/godot,akien-mga/godot,ex/godot,pkowal1982/godot,Shockblast/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot