Update BaseTreeWorldgen.java

world generation crash fix