Format source code..
add a new function checkIfTypeIsDoor(int type) and update Lockette.java with this function
update BlockListener and PlayerListener with Lockette.checkifTypeIsDoor(type)