Update LogHandler.java

fixed non-existing Material errors using ID's