fix direction detection
Merge branch 'master' into 1.5.2

Conflicts:
	src/org/yogpstop/qp/TilePump.java
Merge branch '1.5.2' into 1.4.7

Conflicts:
	src/org/yogpstop/qp/TilePump.java
Merge branch '1.4.7' into 1.4.5